diff options
author | Wu Cheng-Han | 2016-11-28 01:36:48 +0800 |
---|---|---|
committer | Wu Cheng-Han | 2016-11-28 01:36:48 +0800 |
commit | 9f79ed929e4156dc8b5b45161895d70d51cfa5a2 (patch) | |
tree | 760e0491a52558036b93b0c986e96aa95b4c0127 /public/vendor/codemirror/mode/mediawiki/README.salvus | |
parent | 3a305b8258782797b328f2ce46e8bb74e9603594 (diff) |
Update to move custom CodeMirror codebase to our own repo and update webpack build config
Diffstat (limited to 'public/vendor/codemirror/mode/mediawiki/README.salvus')
-rw-r--r-- | public/vendor/codemirror/mode/mediawiki/README.salvus | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/public/vendor/codemirror/mode/mediawiki/README.salvus b/public/vendor/codemirror/mode/mediawiki/README.salvus deleted file mode 100644 index 1babd779..00000000 --- a/public/vendor/codemirror/mode/mediawiki/README.salvus +++ /dev/null @@ -1,16 +0,0 @@ -This is from https://github.com/wikimedia/mediawiki-extensions-CodeMirror - -1. However, note I fixed a bug in their code: - -@@ -684,7 +684,7 @@ CodeMirror.defineMode( 'mediawiki', function( config/*, parserConfig */ ) { - var tagname = stream.match( /[^>\/\s\u00a0\.\*\,\[\]\{\}\$\^\+\?\|\/\\'`~<=!@#%&\(\)-]+/ ); - if ( tagname ) { - tagname = tagname[0].toLowerCase(); -- if ( tagname in config.mwextTags ) { // Parser function -+ if ( config.mwextTags && tagname in config.mwextTags ) { // Parser function - if ( isCloseTag === true ) { - // @todo message - return 'error'; - - -2. Note the comment about "evil BS" in the css file.
\ No newline at end of file |