diff options
author | Jose Antonio Marquez | 2012-05-04 14:00:54 -0700 |
---|---|---|
committer | Jose Antonio Marquez | 2012-05-04 14:00:54 -0700 |
commit | 9c0bda09a502472768f6dd5090a882d11be58d23 (patch) | |
tree | 28eb75165553daa979be3bc9223d35d875a008dc /imports/codemirror/mode/htmlmixed | |
parent | 2456f0d60f642016135aa0f96126cb3249343757 (diff) | |
parent | fec9ccee11ea21ffc95edce6e89d0d302b63e3d8 (diff) | |
download | ninja-9c0bda09a502472768f6dd5090a882d11be58d23.tar.gz |
Merge branch 'refs/heads/Ninja-Internal' into Document
Diffstat (limited to 'imports/codemirror/mode/htmlmixed')
-rw-r--r-- | imports/codemirror/mode/htmlmixed/htmlmixed.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/imports/codemirror/mode/htmlmixed/htmlmixed.js b/imports/codemirror/mode/htmlmixed/htmlmixed.js index a94dc45f..c66a6583 100644 --- a/imports/codemirror/mode/htmlmixed/htmlmixed.js +++ b/imports/codemirror/mode/htmlmixed/htmlmixed.js | |||
@@ -28,7 +28,7 @@ CodeMirror.defineMode("htmlmixed", function(config, parserConfig) { | |||
28 | function javascript(stream, state) { | 28 | function javascript(stream, state) { |
29 | if (stream.match(/^<\/\s*script\s*>/i, false)) { | 29 | if (stream.match(/^<\/\s*script\s*>/i, false)) { |
30 | state.token = html; | 30 | state.token = html; |
31 | state.curState = null; | 31 | state.localState = null; |
32 | state.mode = "html"; | 32 | state.mode = "html"; |
33 | return html(stream, state); | 33 | return html(stream, state); |
34 | } | 34 | } |