[#1505] add memberServices into static. I'm adding way too many deps to the

static page, I need to separate out authServices bare-bones & only use
that in static
This commit is contained in:
Tyler Renelle
2013-09-09 21:25:45 -04:00
parent 23045fb72f
commit a6590e7d84
3 changed files with 5 additions and 1 deletions

View File

@@ -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'
]

View File

@@ -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')

View File

@@ -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')
-}