Skip to content

Commit

Permalink
removed appSettings constant...wasn't needed anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
YashdalfTheGray committed May 21, 2015
1 parent 0f62ca5 commit 1d36ea7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
5 changes: 1 addition & 4 deletions src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,4 @@ angular.module('flintAndSteel', [
})
.warnPalette('red');
}
])
.constant('appSettings', {
serverUrl: 'http://localhost:8080'
});
]);
3 changes: 1 addition & 2 deletions src/ideas/ideaSvc/ideaSvc.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ angular.module('flintAndSteel')
.factory('ideaSvc',
[
'$http',
'appSettings',
function($http, appSettings) {
function($http) {

var mockIdea = {
id: 'mock_idea',
Expand Down
3 changes: 1 addition & 2 deletions src/users/loginSvc/loginSvc.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ angular.module('flintAndSteel')
[
'$http',
'$rootScope',
'appSettings',
function($http, $rootScope, appSettings) {
function($http, $rootScope) {

return {
checkLogin: function checkLogin(account, successCb, errorCb){
Expand Down

0 comments on commit 1d36ea7

Please sign in to comment.