diff options
author | Wu Cheng-Han | 2016-01-17 14:28:04 -0600 |
---|---|---|
committer | Wu Cheng-Han | 2016-01-17 14:28:04 -0600 |
commit | eaa8ccaccb1091820d0a8d1223996a6dd057347d (patch) | |
tree | 6b4aaa3b3d1a2fed68147510142663222533775a /public/vendor/codemirror/addon/runmode | |
parent | ce65e58096d57ace02723d11a125673f9d48c293 (diff) |
Upgrade CodeMirror to 5.10.1 and now support fullscreen, jump-to-line in editor
Diffstat (limited to '')
-rw-r--r--[-rwxr-xr-x] | public/vendor/codemirror/addon/runmode/colorize.js | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | public/vendor/codemirror/addon/runmode/runmode-standalone.js | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | public/vendor/codemirror/addon/runmode/runmode.js | 2 | ||||
-rw-r--r--[-rwxr-xr-x] | public/vendor/codemirror/addon/runmode/runmode.node.js | 1 |
4 files changed, 2 insertions, 1 deletions
diff --git a/public/vendor/codemirror/addon/runmode/colorize.js b/public/vendor/codemirror/addon/runmode/colorize.js index eb7060d0..eb7060d0 100755..100644 --- a/public/vendor/codemirror/addon/runmode/colorize.js +++ b/public/vendor/codemirror/addon/runmode/colorize.js diff --git a/public/vendor/codemirror/addon/runmode/runmode-standalone.js b/public/vendor/codemirror/addon/runmode/runmode-standalone.js index f4f352c8..f4f352c8 100755..100644 --- a/public/vendor/codemirror/addon/runmode/runmode-standalone.js +++ b/public/vendor/codemirror/addon/runmode/runmode-standalone.js diff --git a/public/vendor/codemirror/addon/runmode/runmode.js b/public/vendor/codemirror/addon/runmode/runmode.js index 07d2279f..a51c6d0d 100755..100644 --- a/public/vendor/codemirror/addon/runmode/runmode.js +++ b/public/vendor/codemirror/addon/runmode/runmode.js @@ -16,7 +16,7 @@ CodeMirror.runMode = function(string, modespec, callback, options) { var ie = /MSIE \d/.test(navigator.userAgent); var ie_lt9 = ie && (document.documentMode == null || document.documentMode < 9); - if (callback.nodeType == 1) { + if (callback.appendChild) { var tabSize = (options && options.tabSize) || CodeMirror.defaults.tabSize; var node = callback, col = 0; node.innerHTML = ""; diff --git a/public/vendor/codemirror/addon/runmode/runmode.node.js b/public/vendor/codemirror/addon/runmode/runmode.node.js index 8f345a32..b22a5187 100755..100644 --- a/public/vendor/codemirror/addon/runmode/runmode.node.js +++ b/public/vendor/codemirror/addon/runmode/runmode.node.js @@ -176,3 +176,4 @@ exports.runMode = function(string, modespec, callback, options) { }; require.cache[require.resolve("../../lib/codemirror")] = require.cache[require.resolve("./runmode.node")]; +require.cache[require.resolve("../../addon/runmode/runmode")] = require.cache[require.resolve("./runmode.node")]; |