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

Updated the wrappers around the javascript api #18

Closed niemyjski closed 9 years ago

niemyjski commented 9 years ago

showMessages doesn't take content (according to the link below). Added showNewMessage. http://docs.intercom.io/install-on-your-web-product/intercom-javascript-api

I didn't update the minified version or bower versions.

niemyjski commented 9 years ago

Is there any chance we can do a release for this as I need showNewMessages?

PatrickJS commented 9 years ago

Just in case this happens I allowed old api to work too $intercom('showMessages'); and $intercom('showMessages'); until I tag a new release https://github.com/gdi2290/angular-intercom/blob/master/angular-intercom.js#L106

niemyjski commented 9 years ago

ah okay :dancer: :D

PatrickJS commented 9 years ago

I updated the api and added files to be ignored for bower and npm https://github.com/gdi2290/angular-intercom/tree/v2.0.4

niemyjski commented 9 years ago

Awesome thanks

PatrickJS commented 9 years ago

np, thanks for submitting issues. If you run into any more or request a feature I can add it to the repo or you can open another PR