somafood-ng-route-optimization
v0.1.10
Published
Qulinary Route Optimization
Downloads
5
Readme
somafood-ng-route-optimization
Qulinary Route Optimization
Pre-requisites
- Node
- Bower
- Grunt
Setup your SSH keys in Bitbucket. See instructions
Installation
npm install
bower install
grunt test
Initialization
Add this to app.run
var appVersion = '0.0.0';
//var storeSpace = 0;
if (window.cordova && window.cordova.hasOwnProperty('getAppVersion')) {
window.cordova.getAppVersion()
.then(function(version) {
appVersion = version;
SomaReportingService.init(appVersion);
SomaReportingService.setAppVersion(appVersion);
});
} else {
SomaReportingService.init(appVersion);
}
Note: We have disabled storing of the DeviceDetails in Raygun (line 94) in reporting.js
. This needs to be added through the init call in soma-app
and uncommmented (setDeviceDetails
).
Contributing
- Conform to
.jshintrc
and.jsbeautifyrc
- Run
grunt codequality
to test your code - Run
grunt jsbeautifier:fix
to quickly format your code