JS: Fix scrutinizer warnings and indentation for services
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
committed by
Julius Härtl
parent
9014ae1490
commit
320f2bf5c8
@@ -20,11 +20,10 @@
|
||||
*
|
||||
*/
|
||||
|
||||
app.factory('LabelService', function(ApiService, $http, $q){
|
||||
var LabelService = function($http, ep, $q) {
|
||||
ApiService.call(this, $http, ep, $q);
|
||||
};
|
||||
LabelService.prototype = angular.copy(ApiService.prototype);
|
||||
service = new LabelService($http, 'labels', $q);
|
||||
return service;
|
||||
app.factory('LabelService', function (ApiService, $http, $q) {
|
||||
var LabelService = function ($http, ep, $q) {
|
||||
ApiService.call(this, $http, ep, $q);
|
||||
};
|
||||
LabelService.prototype = angular.copy(ApiService.prototype);
|
||||
return new LabelService($http, 'labels', $q);
|
||||
});
|
||||
Reference in New Issue
Block a user