Sha256: 838a361bf16f2e2aa90c67bd4881337aca06b14be0c8d6647b230dd557a818d4
Contents?: true
Size: 1013 Bytes
Versions: 8
Compression:
Stored size: 1013 Bytes
Contents
:javascript $('#task_task_review_ids').select2({}); new EasyMDE({ element: document.getElementById('task_description'), status: false, showIcons: ['code'], spellChecker: false, placeholder: "Type description here...", renderingConfig: { codeSyntaxHighlighting: true, } }); - if task.new_record? || task.in_processing? :javascript var editor = ace.edit("script-editor", { printMarginColumn: false }); var RubyMode = ace.require("ace/mode/ruby").Mode; editor.setTheme("ace/theme/solarized_dark"); editor.session.setMode(new RubyMode()); editor.renderer.setPadding(15); editor.renderer.setShowPrintMargin(false); editor.getSession().on("change", function () { $("#main-script").val(editor.getValue()); }); $('#click2full').click(function() { $('#script-editor-container').toggleClass('fullscreen'); return false; }); $('#js-add-more-file').click(function() { AddMoreFile(); return false; });
Version data entries
8 entries across 8 versions & 1 rubygems