diff options
author | Ananya Sen | 2012-04-04 12:27:35 -0700 |
---|---|---|
committer | Ananya Sen | 2012-04-04 12:27:35 -0700 |
commit | 671d2b94996ac71d56b2d05d5fe694ed7d84fa59 (patch) | |
tree | 8a6b6437567b9e359717fac73891605d60748823 /imports/codemirror/mode/xml | |
parent | e5dc1a5f35c2c6f3273e89109f1be445471b2dec (diff) | |
download | ninja-671d2b94996ac71d56b2d05d5fe694ed7d84fa59.tar.gz |
upgrading to CodeMirror 2.23, since it has an important fix to Not close Ninja, if backspace is pressed while autocomplete dropdown is open.
Signed-off-by: Ananya Sen <Ananya.Sen@motorola.com>
Diffstat (limited to 'imports/codemirror/mode/xml')
-rw-r--r-- | imports/codemirror/mode/xml/xml.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/imports/codemirror/mode/xml/xml.js b/imports/codemirror/mode/xml/xml.js index f467bddc..d8f17efb 100644 --- a/imports/codemirror/mode/xml/xml.js +++ b/imports/codemirror/mode/xml/xml.js | |||
@@ -264,4 +264,5 @@ CodeMirror.defineMode("xml", function(config, parserConfig) { | |||
264 | }); | 264 | }); |
265 | 265 | ||
266 | CodeMirror.defineMIME("application/xml", "xml"); | 266 | CodeMirror.defineMIME("application/xml", "xml"); |
267 | CodeMirror.defineMIME("text/html", {name: "xml", htmlMode: true}); | 267 | if (!CodeMirror.mimeModes.hasOwnProperty("text/html")) |
268 | CodeMirror.defineMIME("text/html", {name: "xml", htmlMode: true}); | ||