diff --git a/horizon/static/framework/widgets/details/routed-details-view.controller.spec.js b/horizon/static/framework/widgets/details/routed-details-view.controller.spec.js index a374e762a9..010109abe2 100644 --- a/horizon/static/framework/widgets/details/routed-details-view.controller.spec.js +++ b/horizon/static/framework/widgets/details/routed-details-view.controller.spec.js @@ -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 }; diff --git a/horizon/static/framework/widgets/magic-search/magic-search.controller.js b/horizon/static/framework/widgets/magic-search/magic-search.controller.js index 6a4a16c4d9..16ada57e8f 100644 --- a/horizon/static/framework/widgets/magic-search/magic-search.controller.js +++ b/horizon/static/framework/widgets/magic-search/magic-search.controller.js @@ -38,8 +38,7 @@ $window, service, magicSearchEvents - ) - { + ) { var ctrl = this; var searchInput = $element.find('.search-input'); ctrl.mainPromptString = $scope.strings.prompt; diff --git a/openstack_dashboard/dashboards/project/static/dashboard/project/containers/containers.controller.js b/openstack_dashboard/dashboards/project/static/dashboard/project/containers/containers.controller.js index 44d9422472..2055b76d11 100644 --- a/openstack_dashboard/dashboards/project/static/dashboard/project/containers/containers.controller.js +++ b/openstack_dashboard/dashboards/project/static/dashboard/project/containers/containers.controller.js @@ -41,9 +41,15 @@ '$modal' ]; - function ContainersController(swiftAPI, containersModel, basePath, baseRoute, containerRoute, - simpleModalService, toastService, $location, $modal) - { + function ContainersController(swiftAPI, + containersModel, + basePath, + baseRoute, + containerRoute, + simpleModalService, + toastService, + $location, + $modal) { var ctrl = this; ctrl.model = containersModel; ctrl.model.initialize(); diff --git a/openstack_dashboard/dashboards/project/static/dashboard/project/containers/objects.controller.js b/openstack_dashboard/dashboards/project/static/dashboard/project/containers/objects.controller.js index 56a401e7cd..3c73921108 100644 --- a/openstack_dashboard/dashboards/project/static/dashboard/project/containers/objects.controller.js +++ b/openstack_dashboard/dashboards/project/static/dashboard/project/containers/objects.controller.js @@ -39,9 +39,13 @@ '$scope' ]; - function ObjectsController(containersModel, containerRoute, batchActions, - rowActions, $q, $routeParams, $scope) - { + function ObjectsController(containersModel, + containerRoute, + batchActions, + rowActions, + $q, + $routeParams, + $scope) { var ctrl = this; ctrl.rowActions = rowActions;