diff options
| author | ARC <arjunrc@gmail.com> | 2015-05-10 17:21:23 -0400 |
|---|---|---|
| committer | ARC <arjunrc@gmail.com> | 2015-05-10 17:21:23 -0400 |
| commit | c773727f312c647750014e906cc9c0b010ab8454 (patch) | |
| tree | 76dadfd5f75b55c5200138ee472f309790f2005b /www/js/app.js | |
| parent | f2e3d1c121903f36fe996538b14429da733c06e7 (diff) | |
JSHinted everything, added dependency arrays in all controllers for future minification
Diffstat (limited to 'www/js/app.js')
| -rw-r--r-- | www/js/app.js | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/www/js/app.js b/www/js/app.js index d303a894..e1c724b5 100644 --- a/www/js/app.js +++ b/www/js/app.js @@ -1,7 +1,12 @@ +/* jshint -W041 */ +/* jslint browser: true*/ +/* global cordova,StatusBar,angular,console */ + + // core app start stuff angular.module('zmApp', [ 'ionic', - 'zmApp.controllers', + 'zmApp.controllers' ]) @@ -20,7 +25,7 @@ angular.module('zmApp', [ //call the function that was passed scope.$apply(attrs.imageonload); }); - }, + } }; @@ -100,8 +105,8 @@ angular.module('zmApp', [ setTimeout(function () { - $cordovaSplashscreen.hide() - }, 1500) + $cordovaSplashscreen.hide(); + }, 1500); var pixelRatio = window.devicePixelRatio || 1; $rootScope.devWidth = ((window.innerWidth > 0) ? window.innerWidth : screen.width); @@ -151,7 +156,7 @@ angular.module('zmApp', [ controller: 'zmApp.LoginCtrl', - }) + }); $stateProvider .state('help', { |
