Merge "No more braces-style eslint errors"

This commit is contained in:
Jenkins
2016-08-03 15:06:40 +00:00
committed by Gerrit Code Review
4 changed files with 25 additions and 14 deletions

View File

@@ -27,12 +27,14 @@
$timeout = _$timeout_;
var service = {
getResourceType: function() { return {
load: function() { return deferred.promise; },
parsePath: function() { return 'my-context'; },
itemName: function() { return 'A name'; },
initActions: angular.noop
}; },
getResourceType: function() {
return {
load: function() { return deferred.promise; },
parsePath: function() { return 'my-context'; },
itemName: function() { return 'A name'; },
initActions: angular.noop
};
},
getDefaultDetailsTemplateUrl: angular.noop
};

View File

@@ -38,8 +38,7 @@
$window,
service,
magicSearchEvents
)
{
) {
var ctrl = this;
var searchInput = $element.find('.search-input');
ctrl.mainPromptString = $scope.strings.prompt;