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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/cm_headless/headlesscodemirror.js

Issue 2619023002: DevTools: introduce new cm_headless module to fix formatter_worker deps. (Closed)
Patch Set: Created 3 years, 11 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 unified diff | Download patch
OLDNEW
1 // Content of the function is equal to runmode-standalone.js file 1 // Content of the function is equal to runmode-standalone.js file
2 // from CodeMirror distribution 2 // from CodeMirror distribution
3 (function(window) { 3 (function(window) {
4 // CodeMirror, copyright (c) by Marijn Haverbeke and others 4 // CodeMirror, copyright (c) by Marijn Haverbeke and others
5 // Distributed under an MIT license: http://codemirror.net/LICENSE 5 // Distributed under an MIT license: http://codemirror.net/LICENSE
6 6
7 window.CodeMirror = {}; 7 window.CodeMirror = {};
8 8
9 (function() { 9 (function() {
10 "use strict"; 10 "use strict";
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 if (!stream.string && mode.blankLine) mode.blankLine(state); 152 if (!stream.string && mode.blankLine) mode.blankLine(state);
153 while (!stream.eol()) { 153 while (!stream.eol()) {
154 var style = mode.token(stream, state); 154 var style = mode.token(stream, state);
155 callback(stream.current(), style, i, stream.start, state); 155 callback(stream.current(), style, i, stream.start, state);
156 stream.start = stream.pos; 156 stream.start = stream.pos;
157 } 157 }
158 } 158 }
159 }; 159 };
160 })(); 160 })();
161 }(this)) 161 }(this))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698