From 7d52d348b25a6f318de902bf953faf74b3a70bea Mon Sep 17 00:00:00 2001 From: Alex M Date: Sat, 3 Sep 2016 18:33:27 +0300 Subject: [PATCH] [Edit] Fix style issues --- .../commonUI/edit/src/actions/SaveAndStopEditingAction.js | 4 ++-- platform/commonUI/edit/src/capabilities/EditorCapability.js | 2 +- .../edit/test/actions/SaveAndStopEditingActionSpec.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/platform/commonUI/edit/src/actions/SaveAndStopEditingAction.js b/platform/commonUI/edit/src/actions/SaveAndStopEditingAction.js index 6145ecd05b..a0a0583048 100644 --- a/platform/commonUI/edit/src/actions/SaveAndStopEditingAction.js +++ b/platform/commonUI/edit/src/actions/SaveAndStopEditingAction.js @@ -50,7 +50,7 @@ define( SaveAndStopEditingAction.prototype.perform = function () { var domainObject = this.domainObject, saveAction = new SaveAction(this.dialogService, this.context); - + function closeEditor() { return domainObject.getCapability("editor").finish(); } @@ -70,4 +70,4 @@ define( return SaveAndStopEditingAction; } -); \ No newline at end of file +); diff --git a/platform/commonUI/edit/src/capabilities/EditorCapability.js b/platform/commonUI/edit/src/capabilities/EditorCapability.js index 53dea8c91c..2280b04e0c 100644 --- a/platform/commonUI/edit/src/capabilities/EditorCapability.js +++ b/platform/commonUI/edit/src/capabilities/EditorCapability.js @@ -81,7 +81,7 @@ define( }; /** - * Save any unsaved changes from this editing session. This will + * Save any unsaved changes from this editing session. This will * end the current transaction and continue with a new one. * @returns {*} */ diff --git a/platform/commonUI/edit/test/actions/SaveAndStopEditingActionSpec.js b/platform/commonUI/edit/test/actions/SaveAndStopEditingActionSpec.js index 6570dd6037..cfed63c0d3 100644 --- a/platform/commonUI/edit/test/actions/SaveAndStopEditingActionSpec.js +++ b/platform/commonUI/edit/test/actions/SaveAndStopEditingActionSpec.js @@ -115,4 +115,4 @@ define( }); }); } -); \ No newline at end of file +);