From 7501f679f7132ab0ebc96f3abb38f2678a4ba8dd Mon Sep 17 00:00:00 2001 From: Henry Date: Wed, 25 May 2016 12:10:39 -0700 Subject: [PATCH] [Style] Fixed style issues introduced by #954 --- platform/commonUI/edit/bundle.js | 4 ++-- .../commonUI/edit/test/creation/CreateActionSpec.js | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/platform/commonUI/edit/bundle.js b/platform/commonUI/edit/bundle.js index 5107329bfb..a07c5bb230 100644 --- a/platform/commonUI/edit/bundle.js +++ b/platform/commonUI/edit/bundle.js @@ -146,7 +146,7 @@ define([ "$timeout", "objectService" ] - }, + } ], "directives": [ { @@ -309,7 +309,7 @@ define([ "uses": [ "action" ] - }, + } ], "components": [ { diff --git a/platform/commonUI/edit/test/creation/CreateActionSpec.js b/platform/commonUI/edit/test/creation/CreateActionSpec.js index b37339fa40..c2d8e64279 100644 --- a/platform/commonUI/edit/test/creation/CreateActionSpec.js +++ b/platform/commonUI/edit/test/creation/CreateActionSpec.js @@ -77,10 +77,10 @@ define( ] ); mockDomainObject.hasCapability.andCallFake(function (name) { - return !!capabilities[name]; + return !!capabilities[name]; }); mockDomainObject.getCapability.andCallFake(function (name) { - return capabilities[name]; + return capabilities[name]; }); mockSaveAction = jasmine.createSpyObj( "saveAction", @@ -165,10 +165,10 @@ define( describe("uses to editor capability", function () { var promise = jasmine.createSpyObj("promise", ["then"]); - beforeEach(function () { - capabilities.action.getActions.andReturn([]); - capabilities.action.perform.andReturn(promise); - }); + beforeEach(function () { + capabilities.action.getActions.andReturn([]); + capabilities.action.perform.andReturn(promise); + }); it("to save the edit if user saves dialog", function () { action.perform();