summaryrefslogtreecommitdiff
path: root/public/vendor/codemirror/mode/css/gss_test.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/vendor/codemirror/mode/css/gss_test.js')
-rw-r--r--public/vendor/codemirror/mode/css/gss_test.js17
1 files changed, 17 insertions, 0 deletions
diff --git a/public/vendor/codemirror/mode/css/gss_test.js b/public/vendor/codemirror/mode/css/gss_test.js
new file mode 100644
index 00000000..d56e5928
--- /dev/null
+++ b/public/vendor/codemirror/mode/css/gss_test.js
@@ -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];",
+ "}",
+ "}");
+
+})();