From 774889bc79642d79517b373b8c4165f4f333822e Mon Sep 17 00:00:00 2001 From: Daniel Thies Date: Sat, 1 Dec 2018 08:48:34 -0600 Subject: [PATCH] Fix style lint issues --- styles.css | 25 +++---------------- version.php | 4 +-- ...moodle-tinymce_mathslate-dialogue-debug.js | 6 ++--- .../moodle-tinymce_mathslate-dialogue.js | 6 ++--- ...e-tinymce_mathslate-mathjaxeditor-debug.js | 10 ++++---- .../moodle-tinymce_mathslate-mathjaxeditor.js | 10 ++++---- ...e-tinymce_mathslate-snippeteditor-debug.js | 4 +-- .../moodle-tinymce_mathslate-snippeteditor.js | 4 +-- yui/src/dialogue/js/dialogue.js | 6 ++--- yui/src/mathjaxeditor/js/mathjaxeditor.js | 10 ++++---- yui/src/snippeteditor/js/snippeteditor.js | 4 +-- 11 files changed, 35 insertions(+), 54 deletions(-) diff --git a/styles.css b/styles.css index 970c2f1..5b2e429 100644 --- a/styles.css +++ b/styles.css @@ -40,7 +40,6 @@ .mathslate-tinymce .mathslate-workspace .mathslate-selected { color: green; - mathcolor: green; } .mathslate-tinymce .mathslate-workspace-dragged { @@ -65,9 +64,6 @@ padding-left: 10px; } -.mathslate-tinymce .mathslate-preview .mathslate-selected div { -} - .mathslate-tinymce .mathslate-preview .mathslate-selected { border-left: solid 5px green; background-color: #121; @@ -104,9 +100,6 @@ } } -.mathslate-tinymce .mathslate-editor { -} - .mathslate-tinymce .mathslate-workspace { background-color: #333; color: #eee; @@ -139,11 +132,11 @@ } .mathslate-tinymce .mathslate-toolbox .yui3-tab-selected .yui3-tab-focused { - background: linear-gradient(to top, #444, #888) + background: linear-gradient(to top, #444, #888); } .mathslate-tinymce .mathslate-toolbox .yui3-tab-selected .yui3-tab-label { - background: #444 linear-gradient(to bottom, #aaa, #444) !important; + background: #444 linear-gradient(to bottom, #aaa, #444); } .mathslate-tinymce .mathslate-toolbox .yui3-tabview-list { @@ -151,16 +144,7 @@ } .mathslate-tinymce .yui3-tabview-panel { -height: 100px; -} - -.mathslate-tinymce .mathslate-delete-button { -} - -.mathslate-tinymce .mathslate-undo-button { -} - -.mathslate-tinymce .mathslate-redo-button { + height: 100px; } .mathslate-tinymce form button { @@ -169,6 +153,3 @@ height: 100px; text-align: center; padding: 0; } - -.mathslate-tinymce .mathslate-help-box { -} diff --git a/version.php b/version.php index d6ccde3..39b2670 100644 --- a/version.php +++ b/version.php @@ -25,10 +25,10 @@ defined('MOODLE_INTERNAL') || die(); // The current plugin version (Date: YYYYMMDDXX). -$plugin->version = 2015041706; +$plugin->version = 2015041707; // Required Moodle version. $plugin->requires = 2013101800; // Full name of the plugin (used for diagnostics). $plugin->component = 'tinymce_mathslate'; $plugin->maturity = MATURITY_STABLE; -$plugin->release = '1.1.1'; +$plugin->release = '1.1.2'; diff --git a/yui/build/moodle-tinymce_mathslate-dialogue/moodle-tinymce_mathslate-dialogue-debug.js b/yui/build/moodle-tinymce_mathslate-dialogue/moodle-tinymce_mathslate-dialogue-debug.js index 77c4545..237634c 100644 --- a/yui/build/moodle-tinymce_mathslate-dialogue/moodle-tinymce_mathslate-dialogue-debug.js +++ b/yui/build/moodle-tinymce_mathslate-dialogue/moodle-tinymce_mathslate-dialogue-debug.js @@ -70,7 +70,7 @@ var NS = M.tinymce_mathslate; M.tinymce_mathslate.help = params.help || M.tinymce_mathslate.help; var dialogue = Y.one('#' + params.elementid); M.tinymce_mathslate.dialogue = dialogue; - + var editorID = dialogue.one('.mathslate-container').generateID(); Y.one('#' + editorID).addClass(CSS.EDITOR); @@ -116,9 +116,9 @@ var NS = M.tinymce_mathslate; window.tinyMCEPopup.editor.execCommand('mceInsertContent', false, '\\(' + me.output('tex') + '\\)'); window.tinyMCEPopup.close(); }); - + window.MathJax.Hub.Queue(['Typeset', window.MathJax.Hub, me.node.generateID()]); - + }; diff --git a/yui/build/moodle-tinymce_mathslate-dialogue/moodle-tinymce_mathslate-dialogue.js b/yui/build/moodle-tinymce_mathslate-dialogue/moodle-tinymce_mathslate-dialogue.js index 77c4545..237634c 100644 --- a/yui/build/moodle-tinymce_mathslate-dialogue/moodle-tinymce_mathslate-dialogue.js +++ b/yui/build/moodle-tinymce_mathslate-dialogue/moodle-tinymce_mathslate-dialogue.js @@ -70,7 +70,7 @@ var NS = M.tinymce_mathslate; M.tinymce_mathslate.help = params.help || M.tinymce_mathslate.help; var dialogue = Y.one('#' + params.elementid); M.tinymce_mathslate.dialogue = dialogue; - + var editorID = dialogue.one('.mathslate-container').generateID(); Y.one('#' + editorID).addClass(CSS.EDITOR); @@ -116,9 +116,9 @@ var NS = M.tinymce_mathslate; window.tinyMCEPopup.editor.execCommand('mceInsertContent', false, '\\(' + me.output('tex') + '\\)'); window.tinyMCEPopup.close(); }); - + window.MathJax.Hub.Queue(['Typeset', window.MathJax.Hub, me.node.generateID()]); - + }; diff --git a/yui/build/moodle-tinymce_mathslate-mathjaxeditor/moodle-tinymce_mathslate-mathjaxeditor-debug.js b/yui/build/moodle-tinymce_mathslate-mathjaxeditor/moodle-tinymce_mathslate-mathjaxeditor-debug.js index 8119f4e..b63453b 100644 --- a/yui/build/moodle-tinymce_mathslate-mathjaxeditor/moodle-tinymce_mathslate-mathjaxeditor-debug.js +++ b/yui/build/moodle-tinymce_mathslate-mathjaxeditor/moodle-tinymce_mathslate-mathjaxeditor-debug.js @@ -33,7 +33,7 @@ var SELECTORS = { SELECTED: '.' + CSS.SELECTED, HIGHLIGHT: '.' + CSS.HIGHLIGHT }; - + //Constructor for equation workspace NS.MathJaxEditor = function(id) { var MathJax = window.MathJax; @@ -122,7 +122,7 @@ NS.MathJaxEditor = function(id) { } render(); }); - + help.on('click', function() { preview.setHTML('