0.1.1 • Published 8 years ago
somafood-ng-analytics v0.1.1
somafood-ng-analytics
Qulinary Analytics (wrapper for intercom & segment)
Pre-requisites
- Node
- Bower
- Grunt
Setup your SSH keys in Bitbucket. See instructions
Installation
npm install
bower install
grunt test
Usage
- Broadcast
CURRENT_FOODIE_UPDATED
when the current foodie is updated so that its updated on the analytics side. Should happen inng-auth
- Add
trackLogout
inLoginCtrl > logout
on Logout success.
TODO:
1. Externalize state history --> remove dependency on $ionicHistory
. Remove stateChangeListening from here, and add it to the app.run of the parent app.
Contributing
- Conform to
.jshintrc
and.jsbeautifyrc
- Run
grunt codequality
to test your code - Run
grunt jsbeautifier:fix
to quickly format your code