| OLD | NEW |
| 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 Loading... |
| 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)) |
| OLD | NEW |