mirror of
https://github.com/documize/community.git
synced 2025-08-01 19:45:24 +02:00
moved emberjs to gui folder
This commit is contained in:
parent
6a18d18f91
commit
dc49dbbeff
999 changed files with 677 additions and 651 deletions
37
gui/public/codemirror/mode/cypher/test.js
vendored
Executable file
37
gui/public/codemirror/mode/cypher/test.js
vendored
Executable file
|
@ -0,0 +1,37 @@
|
|||
// CodeMirror, copyright (c) by Marijn Haverbeke and others
|
||||
// Distributed under an MIT license: http://codemirror.net/LICENSE
|
||||
|
||||
(function() {
|
||||
var mode = CodeMirror.getMode({tabSize: 4, indentUnit: 2}, "cypher");
|
||||
function MT(name) { test.mode(name, mode, Array.prototype.slice.call(arguments, 1)); }
|
||||
|
||||
MT("unbalancedDoubledQuotedString",
|
||||
"[string \"a'b\"][variable c]");
|
||||
|
||||
MT("unbalancedSingleQuotedString",
|
||||
"[string 'a\"b'][variable c]");
|
||||
|
||||
MT("doubleQuotedString",
|
||||
"[string \"a\"][variable b]");
|
||||
|
||||
MT("singleQuotedString",
|
||||
"[string 'a'][variable b]");
|
||||
|
||||
MT("single attribute (with content)",
|
||||
"[node {][atom a:][string 'a'][node }]");
|
||||
|
||||
MT("multiple attribute, singleQuotedString (with content)",
|
||||
"[node {][atom a:][string 'a'][node ,][atom b:][string 'b'][node }]");
|
||||
|
||||
MT("multiple attribute, doubleQuotedString (with content)",
|
||||
"[node {][atom a:][string \"a\"][node ,][atom b:][string \"b\"][node }]");
|
||||
|
||||
MT("single attribute (without content)",
|
||||
"[node {][atom a:][string 'a'][node }]");
|
||||
|
||||
MT("multiple attribute, singleQuotedString (without content)",
|
||||
"[node {][atom a:][string ''][node ,][atom b:][string ''][node }]");
|
||||
|
||||
MT("multiple attribute, doubleQuotedString (without content)",
|
||||
"[node {][atom a:][string \"\"][node ,][atom b:][string \"\"][node }]");
|
||||
})();
|
Loading…
Add table
Add a link
Reference in a new issue