MDL-46497 atto: Whitespace/coding style fix
authorAndrew Nicols <andrew@nicols.co.uk>
Mon, 12 Oct 2015 05:37:14 +0000 (13:37 +0800)
committerAndrew Nicols <andrew@nicols.co.uk>
Mon, 12 Oct 2015 05:37:29 +0000 (13:37 +0800)
lib/editor/atto/plugins/rtl/yui/build/moodle-atto_rtl-button/moodle-atto_rtl-button-debug.js
lib/editor/atto/plugins/rtl/yui/build/moodle-atto_rtl-button/moodle-atto_rtl-button.js
lib/editor/atto/plugins/rtl/yui/src/button/js/button.js

index 88f3f6c..ba14c13 100644 (file)
Binary files a/lib/editor/atto/plugins/rtl/yui/build/moodle-atto_rtl-button/moodle-atto_rtl-button-debug.js and b/lib/editor/atto/plugins/rtl/yui/build/moodle-atto_rtl-button/moodle-atto_rtl-button-debug.js differ
index 88f3f6c..ba14c13 100644 (file)
Binary files a/lib/editor/atto/plugins/rtl/yui/build/moodle-atto_rtl-button/moodle-atto_rtl-button.js and b/lib/editor/atto/plugins/rtl/yui/build/moodle-atto_rtl-button/moodle-atto_rtl-button.js differ
index 0fb3d3b..2fb1543 100644 (file)
@@ -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(),