Merge "No more braces-style eslint errors"
This commit is contained in:
@@ -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
|
||||
};
|
||||
|
||||
|
||||
@@ -38,8 +38,7 @@
|
||||
$window,
|
||||
service,
|
||||
magicSearchEvents
|
||||
)
|
||||
{
|
||||
) {
|
||||
var ctrl = this;
|
||||
var searchInput = $element.find('.search-input');
|
||||
ctrl.mainPromptString = $scope.strings.prompt;
|
||||
|
||||
Reference in New Issue
Block a user