Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2024)

Unified Diff: Source/devtools/front_end/cm/headlesscodemirror.js

Issue 216973004: DevTools: roll CodeMirror to v4.0.3 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: support autocomplete with multiselections Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/devtools/front_end/cm/comment.js ('k') | Source/devtools/front_end/cm/markselection.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/cm/headlesscodemirror.js
diff --git a/Source/devtools/front_end/cm/headlesscodemirror.js b/Source/devtools/front_end/cm/headlesscodemirror.js
index 3433e8d17fcef6109f3f50997921c928e9ebdee6..67c7866b76a720e2be0cb16e66aa0d3e9a2f47c6 100644
--- a/Source/devtools/front_end/cm/headlesscodemirror.js
+++ b/Source/devtools/front_end/cm/headlesscodemirror.js
@@ -1,8 +1,6 @@
// Content of the function is equal to runmode-standalone.js file
// from CodeMirror distribution
(function(window) {
-/* Just enough of CodeMirror to run runMode under node.js */
-
window.CodeMirror = {};
(function() {
@@ -152,4 +150,5 @@ CodeMirror.runMode = function (string, modespec, callback, options) {
}
};
})();
+
}(this))
« no previous file with comments | « Source/devtools/front_end/cm/comment.js ('k') | Source/devtools/front_end/cm/markselection.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698