Patch Realtime into CodeMirror in CryptPad

This commit is contained in:
Yann Flory
2015-11-25 09:48:30 +01:00
parent 05ce2695b2
commit 32f44161a7
721 changed files with 148708 additions and 1 deletions

View File

@@ -0,0 +1,17 @@
// CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: http://codemirror.net/LICENSE
(function() {
"use strict";
var mode = CodeMirror.getMode({indentUnit: 2}, "text/x-gss");
function MT(name) { test.mode(name, mode, Array.prototype.slice.call(arguments, 1), "gss"); }
MT("atComponent",
"[def @component] {",
"[tag foo] {",
" [property color]: [keyword black];",
"}",
"}");
})();