Skip to content

Commit

Permalink
User airbnb preset
Browse files Browse the repository at this point in the history
  • Loading branch information
berenjian committed Dec 24, 2015
1 parent df1f75f commit b6cfbe6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
3 changes: 3 additions & 0 deletions www/js/.jscsrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"preset": "airbnb"
}
11 changes: 7 additions & 4 deletions www/js/app.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@


// Ionic Starter App

// angular.module is a global place for creating, registering and retrieving Angular modules
Expand All @@ -17,6 +19,7 @@ angular
cordova.plugins.Keyboard.disableScroll(true);

}

if (window.StatusBar) {
// org.apache.cordova.statusbar required
StatusBar.styleDefault();
Expand All @@ -30,17 +33,17 @@ angular
.state('app', {
url: '/app',
abstract: true,
templateUrl: 'templates/app.html'
templateUrl: 'templates/app.html',
})

.state('app.userlist', {
url: '/userlist',
views: {
'tab-userlist': {
templateUrl: 'templates/userlist.html',
controller: 'UserListCtrl'
}
}
controller: 'UserListCtrl',
},
},
})
;

Expand Down

0 comments on commit b6cfbe6

Please sign in to comment.