From 99690e0fa836f1a247c515ce72b9839f019afb07 Mon Sep 17 00:00:00 2001 From: Andrew Nicols Date: Mon, 12 Oct 2015 13:37:14 +0800 Subject: [PATCH] MDL-46497 atto: Whitespace/coding style fix --- .../moodle-atto_rtl-button/moodle-atto_rtl-button-debug.js | 5 ++++- .../build/moodle-atto_rtl-button/moodle-atto_rtl-button.js | 5 ++++- lib/editor/atto/plugins/rtl/yui/src/button/js/button.js | 5 ++++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/lib/editor/atto/plugins/rtl/yui/build/moodle-atto_rtl-button/moodle-atto_rtl-button-debug.js b/lib/editor/atto/plugins/rtl/yui/build/moodle-atto_rtl-button/moodle-atto_rtl-button-debug.js index 88f3f6c4ee6..ba14c132c16 100644 --- a/lib/editor/atto/plugins/rtl/yui/build/moodle-atto_rtl-button/moodle-atto_rtl-button-debug.js +++ b/lib/editor/atto/plugins/rtl/yui/build/moodle-atto_rtl-button/moodle-atto_rtl-button-debug.js @@ -67,7 +67,10 @@ Y.namespace('M.atto_rtl').Button = Y.Base.create('button', Y.M.editor_atto.Edito var host = this.get('host'), sourceSelection = rangy.saveSelection(), selection = host.getSelection(), - newDirection = { rtl: 'ltr', ltr: 'rtl' }; + newDirection = { + rtl: 'ltr', + ltr: 'rtl' + }; if (selection) { // Format the selection to be sure it has a tag parent (not the contenteditable). var parentNode = host.formatSelectionBlock(), diff --git a/lib/editor/atto/plugins/rtl/yui/build/moodle-atto_rtl-button/moodle-atto_rtl-button.js b/lib/editor/atto/plugins/rtl/yui/build/moodle-atto_rtl-button/moodle-atto_rtl-button.js index 88f3f6c4ee6..ba14c132c16 100644 --- a/lib/editor/atto/plugins/rtl/yui/build/moodle-atto_rtl-button/moodle-atto_rtl-button.js +++ b/lib/editor/atto/plugins/rtl/yui/build/moodle-atto_rtl-button/moodle-atto_rtl-button.js @@ -67,7 +67,10 @@ Y.namespace('M.atto_rtl').Button = Y.Base.create('button', Y.M.editor_atto.Edito var host = this.get('host'), sourceSelection = rangy.saveSelection(), selection = host.getSelection(), - newDirection = { rtl: 'ltr', ltr: 'rtl' }; + newDirection = { + rtl: 'ltr', + ltr: 'rtl' + }; if (selection) { // Format the selection to be sure it has a tag parent (not the contenteditable). var parentNode = host.formatSelectionBlock(), diff --git a/lib/editor/atto/plugins/rtl/yui/src/button/js/button.js b/lib/editor/atto/plugins/rtl/yui/src/button/js/button.js index 0fb3d3bb845..2fb15438e66 100644 --- a/lib/editor/atto/plugins/rtl/yui/src/button/js/button.js +++ b/lib/editor/atto/plugins/rtl/yui/src/button/js/button.js @@ -65,7 +65,10 @@ Y.namespace('M.atto_rtl').Button = Y.Base.create('button', Y.M.editor_atto.Edito var host = this.get('host'), sourceSelection = rangy.saveSelection(), selection = host.getSelection(), - newDirection = { rtl: 'ltr', ltr: 'rtl' }; + newDirection = { + rtl: 'ltr', + ltr: 'rtl' + }; if (selection) { // Format the selection to be sure it has a tag parent (not the contenteditable). var parentNode = host.formatSelectionBlock(),