Lint cleanup

This commit is contained in:
kevgliss 2015-11-23 14:47:34 -08:00
parent 574c4033ab
commit 146c599deb
3 changed files with 4 additions and 4 deletions

View File

@ -94,9 +94,9 @@ lemur.factory('LemurRestangular', function (Restangular, $location, $auth) {
RestangularConfigurer.setErrorInterceptor(function(response) {
if (response.status == 400) {
if (response.data.message) {
var data = "";
var data = '';
_.each(response.data.message, function (value, key) {
data = data + " " + key + " " + value;
data = data + ' ' + key + ' ' + value;
});
response.data.message = data;
}

View File

@ -56,7 +56,7 @@ angular.module('lemur')
});
return LemurRestangular.all('authorities');
})
.service('AuthorityService', function ($location, AuthorityApi, DefaultService, toaster) {
.service('AuthorityService', function ($location, AuthorityApi, DefaultService) {
var AuthorityService = this;
AuthorityService.findAuthorityByName = function (filterValue) {
return AuthorityApi.getList({'filter[name]': filterValue})

View File

@ -89,7 +89,7 @@ angular.module('lemur')
});
return LemurRestangular.all('certificates');
})
.service('CertificateService', function ($location, CertificateApi, LemurRestangular, DefaultService, toaster) {
.service('CertificateService', function ($location, CertificateApi, LemurRestangular, DefaultService) {
var CertificateService = this;
CertificateService.findCertificatesByName = function (filterValue) {
return CertificateApi.getList({'filter[name]': filterValue})