From 146c599deba9bbc22de87a904f1396d9d6186d25 Mon Sep 17 00:00:00 2001 From: kevgliss Date: Mon, 23 Nov 2015 14:47:34 -0800 Subject: [PATCH] Lint cleanup --- lemur/static/app/angular/app.js | 4 ++-- lemur/static/app/angular/authorities/services.js | 2 +- lemur/static/app/angular/certificates/services.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lemur/static/app/angular/app.js b/lemur/static/app/angular/app.js index a4102dac..402183f9 100644 --- a/lemur/static/app/angular/app.js +++ b/lemur/static/app/angular/app.js @@ -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; } diff --git a/lemur/static/app/angular/authorities/services.js b/lemur/static/app/angular/authorities/services.js index 65cdfba3..123e5ec3 100644 --- a/lemur/static/app/angular/authorities/services.js +++ b/lemur/static/app/angular/authorities/services.js @@ -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}) diff --git a/lemur/static/app/angular/certificates/services.js b/lemur/static/app/angular/certificates/services.js index a9bf03f8..89e68125 100644 --- a/lemur/static/app/angular/certificates/services.js +++ b/lemur/static/app/angular/certificates/services.js @@ -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})