diff --git a/www/js/.jscsrc b/www/js/.jscsrc new file mode 100644 index 0000000..58e8c09 --- /dev/null +++ b/www/js/.jscsrc @@ -0,0 +1,3 @@ +{ + "preset": "airbnb" +} \ No newline at end of file diff --git a/www/js/app.js b/www/js/app.js index af727bc..ee3b6b6 100644 --- a/www/js/app.js +++ b/www/js/app.js @@ -1,3 +1,5 @@ + + // Ionic Starter App // angular.module is a global place for creating, registering and retrieving Angular modules @@ -17,6 +19,7 @@ angular cordova.plugins.Keyboard.disableScroll(true); } + if (window.StatusBar) { // org.apache.cordova.statusbar required StatusBar.styleDefault(); @@ -30,7 +33,7 @@ angular .state('app', { url: '/app', abstract: true, - templateUrl: 'templates/app.html' + templateUrl: 'templates/app.html', }) .state('app.userlist', { @@ -38,9 +41,9 @@ angular views: { 'tab-userlist': { templateUrl: 'templates/userlist.html', - controller: 'UserListCtrl' - } - } + controller: 'UserListCtrl', + }, + }, }) ;