You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

gss_test.js 460B

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