mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-10 07:05:35 +00:00
Linting fixes
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
angular.module('app')
|
||||
.controller('ErrorController', ['$window','$rootScope','$scope','$stateParams', '$location', function ($window, $rootScope, $scope, $p, $location) {
|
||||
.controller('ErrorController', ['$window', '$rootScope', '$scope', '$stateParams', '$location', function($window, $rootScope, $scope, $p, $location) {
|
||||
$rootScope.title = 'Error';
|
||||
$scope.path = $location.path();
|
||||
$scope.type = $p.type || 'unknown';
|
||||
@@ -21,9 +21,9 @@ angular.module('app')
|
||||
$scope.details = $p.details;
|
||||
break;
|
||||
default:
|
||||
$scope.msgPre = "Uh, Jameson, we have a problem..";
|
||||
$scope.msgPre = 'Uh, Jameson, we have a problem..';
|
||||
$scope.errorMessage = $p.message;
|
||||
$scope.details = $p.details;
|
||||
}
|
||||
|
||||
}]);
|
||||
}]);
|
||||
|
||||
Reference in New Issue
Block a user