code cleanup

This commit is contained in:
Davide Alberani 2016-04-24 16:31:07 +02:00
parent 756a776eba
commit 7dc2e2bad1
3 changed files with 7 additions and 7 deletions

View file

@ -41,7 +41,7 @@ eventManApp.run(['$rootScope', '$state', '$stateParams', '$log',
/* Configure the states. */
eventManApp.config(['$stateProvider', '$urlRouterProvider',
function($stateProvider, $urlRouterProvider) {
$urlRouterProvider.otherwise("/events");
$urlRouterProvider.otherwise('/events');
$stateProvider
.state('events', {
url: '/events',
@ -50,7 +50,7 @@ eventManApp.config(['$stateProvider', '$urlRouterProvider',
})
.state('event', {
url: '/event',
templateUrl: 'event-main.html',
templateUrl: 'event-main.html'
})
.state('event.new', {
url: '/new',
@ -74,7 +74,7 @@ eventManApp.config(['$stateProvider', '$urlRouterProvider',
})
.state('person', {
url: '/person',
templateUrl: 'person-main.html',
templateUrl: 'person-main.html'
})
.state('person.new', {
url: '/new',
@ -93,7 +93,7 @@ eventManApp.config(['$stateProvider', '$urlRouterProvider',
})
.state('import', {
url: '/import',
templateUrl: 'import-main.html',
templateUrl: 'import-main.html'
})
.state('import.persons', {
url: '/persons',

View file

@ -167,7 +167,7 @@ eventManControllers.controller('EventDetailsCtrl', ['$scope', '$state', 'Event',
angular.forEach($scope.personsOrder,
function(value, idx) {
if (value !== key && value !== inv_key) {
new_order.push(value)
new_order.push(value);
}
}
);
@ -363,7 +363,7 @@ eventManControllers.controller('PersonsListCtrl', ['$scope', 'Person', 'Setting'
angular.forEach($scope.personsOrder,
function(value, idx) {
if (value !== key && value !== inv_key) {
new_order.push(value)
new_order.push(value);
}
}
);

View file

@ -139,7 +139,7 @@ eventManServices.factory('Setting', ['$resource',
}
},
update: {method: 'PUT'},
update: {method: 'PUT'}
});
}]
);