PatrickJS / angular-intercom

An Angular.js wrapper for Intercom.io providing a simple and familiar API for Angular Developer.
MIT License
89 stars 36 forks source link

add trackEvent method #5

Closed olapersson closed 10 years ago

olapersson commented 10 years ago

I added access to the trackEvent method, and refactored the other methods a little bit. This queues up updates, events etc. until intercom has booted.

Auto-formatted the code as well, I much prefer it this way, but I could revert to the old indent/formatting if it's an issue.

PatrickJS commented 10 years ago

thanks