MDL-47133 editor_atto: fixed lint errors
authorSam Hemelryk <sam@moodle.com>
Sun, 30 Nov 2014 21:36:23 +0000 (10:36 +1300)
committerSam Hemelryk <sam@moodle.com>
Sun, 30 Nov 2014 21:36:23 +0000 (10:36 +1300)
lib/editor/atto/yui/build/moodle-editor_atto-plugin/moodle-editor_atto-plugin-debug.js
lib/editor/atto/yui/build/moodle-editor_atto-plugin/moodle-editor_atto-plugin-min.js
lib/editor/atto/yui/build/moodle-editor_atto-plugin/moodle-editor_atto-plugin.js
lib/editor/atto/yui/src/editor/js/editor-plugin-buttons.js

index 0d871ad..a378090 100644 (file)
Binary files a/lib/editor/atto/yui/build/moodle-editor_atto-plugin/moodle-editor_atto-plugin-debug.js and b/lib/editor/atto/yui/build/moodle-editor_atto-plugin/moodle-editor_atto-plugin-debug.js differ
index a21bc77..72e69db 100644 (file)
Binary files a/lib/editor/atto/yui/build/moodle-editor_atto-plugin/moodle-editor_atto-plugin-min.js and b/lib/editor/atto/yui/build/moodle-editor_atto-plugin/moodle-editor_atto-plugin-min.js differ
index d78e8d3..eaf01d0 100644 (file)
Binary files a/lib/editor/atto/yui/build/moodle-editor_atto-plugin/moodle-editor_atto-plugin.js and b/lib/editor/atto/yui/build/moodle-editor_atto-plugin/moodle-editor_atto-plugin.js differ
index 1d81742..13cdd8f 100644 (file)
@@ -678,7 +678,7 @@ EditorPluginButtons.prototype = {
             handler = callback;
 
         } else {
-            modifier = this._getDefaultMetaKey()
+            modifier = this._getDefaultMetaKey();
             keys = this._getKeyEvent() + keyConfig + '+' + modifier;
             if (typeof this._primaryKeyboardShortcut[buttonName] === 'undefined') {
                 this._primaryKeyboardShortcut[buttonName] = this._getDefaultMetaKeyDescription(keyConfig);
@@ -718,7 +718,7 @@ EditorPluginButtons.prototype = {
         var exactMatch = true,
             hasKey;
 
-        if (e.type != 'key') {
+        if (e.type !== 'key') {
             return false;
         }