Skip to content

Commit

Permalink
[HabitRPG#1505] add memberServices into static. I'm adding way too ma…
Browse files Browse the repository at this point in the history
…ny deps to the

static page, I need to separate out authServices bare-bones & only use
that in static
  • Loading branch information
lefnire committed Sep 10, 2013
1 parent 23045fb commit a6590e7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,11 @@ module.exports = function(grunt) {
'public/bower_components/jquery/jquery.min.js',
'public/bower_components/habitrpg-shared/dist/habitrpg-shared.js',
'public/bower_components/angular/angular.min.js',
'public/bower_components/angular-resource/angular-resource.min.js',
'public/bower_components/bootstrap/docs/assets/js/bootstrap.min.js',

'public/js/static.js',
'public/js/services/memberServices.js',
'public/js/services/userServices.js',
'public/js/controllers/authCtrl.js'
]
Expand Down
2 changes: 1 addition & 1 deletion public/js/static.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"use strict";

window.habitrpg = angular.module('habitrpg', ['userServices'])
window.habitrpg = angular.module('habitrpg', ['userServices', 'memberServices'])
.constant("API_URL", "")
.constant("STORAGE_USER_ID", 'habitrpg-user')
.constant("STORAGE_SETTINGS_ID", 'habit-mobile-settings')
2 changes: 2 additions & 0 deletions views/static/layout.jade
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,11 @@ html
script(type='text/javascript', src='/bower_components/jquery/jquery.min.js')
script(type='text/javascript', src='/bower_components/habitrpg-shared/dist/habitrpg-shared.js')
script(type='text/javascript', src='/bower_components/angular/angular.min.js')
script(type='text/javascript', src='/bower_components/angular-resource/angular-resource.min.js')
script(type='text/javascript', src='/bower_components/bootstrap/docs/assets/js/bootstrap.min.js')

script(type='text/javascript', src='/js/static.js')
script(type='text/javascript', src='/js/services/memberServices.js')
script(type='text/javascript', src='/js/services/userServices.js')
script(type='text/javascript', src='/js/controllers/authCtrl.js')
-}
Expand Down

0 comments on commit a6590e7

Please sign in to comment.