and others
2 |
3 | Permission is hereby granted, free of charge, to any person obtaining a copy
4 | of this software and associated documentation files (the "Software"), to deal
5 | in the Software without restriction, including without limitation the rights
6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7 | copies of the Software, and to permit persons to whom the Software is
8 | furnished to do so, subject to the following conditions:
9 |
10 | The above copyright notice and this permission notice shall be included in
11 | all copies or substantial portions of the Software.
12 |
13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19 | THE SOFTWARE.
20 |
--------------------------------------------------------------------------------
/www/vendor/codemirror-4.0/README.md:
--------------------------------------------------------------------------------
1 | # CodeMirror
2 | [](http://travis-ci.org/marijnh/CodeMirror)
3 | [](http://badge.fury.io/js/codemirror)
4 |
5 | CodeMirror is a JavaScript component that provides a code editor in
6 | the browser. When a mode is available for the language you are coding
7 | in, it will color your code, and optionally help with indentation.
8 |
9 | The project page is http://codemirror.net
10 | The manual is at http://codemirror.net/doc/manual.html
11 | The contributing guidelines are in [CONTRIBUTING.md](https://github.com/marijnh/CodeMirror/blob/master/CONTRIBUTING.md)
12 |
--------------------------------------------------------------------------------
/www/vendor/codemirror-4.0/addon/dialog/dialog.css:
--------------------------------------------------------------------------------
1 | .CodeMirror-dialog {
2 | position: absolute;
3 | left: 0; right: 0;
4 | background: white;
5 | z-index: 15;
6 | padding: .1em .8em;
7 | overflow: hidden;
8 | color: #333;
9 | }
10 |
11 | .CodeMirror-dialog-top {
12 | border-bottom: 1px solid #eee;
13 | top: 0;
14 | }
15 |
16 | .CodeMirror-dialog-bottom {
17 | border-top: 1px solid #eee;
18 | bottom: 0;
19 | }
20 |
21 | .CodeMirror-dialog input {
22 | border: none;
23 | outline: none;
24 | background: transparent;
25 | width: 20em;
26 | color: inherit;
27 | font-family: monospace;
28 | }
29 |
30 | .CodeMirror-dialog button {
31 | font-size: 70%;
32 | }
33 |
--------------------------------------------------------------------------------
/www/vendor/codemirror-4.0/addon/display/fullscreen.css:
--------------------------------------------------------------------------------
1 | .CodeMirror-fullscreen {
2 | position: fixed;
3 | top: 0; left: 0; right: 0; bottom: 0;
4 | height: auto;
5 | z-index: 9;
6 | }
7 |
--------------------------------------------------------------------------------
/www/vendor/codemirror-4.0/addon/display/fullscreen.js:
--------------------------------------------------------------------------------
1 | (function(mod) {
2 | if (typeof exports == "object" && typeof module == "object") // CommonJS
3 | mod(require("../../lib/codemirror"));
4 | else if (typeof define == "function" && define.amd) // AMD
5 | define(["../../lib/codemirror"], mod);
6 | else // Plain browser env
7 | mod(CodeMirror);
8 | })(function(CodeMirror) {
9 | "use strict";
10 |
11 | CodeMirror.defineOption("fullScreen", false, function(cm, val, old) {
12 | if (old == CodeMirror.Init) old = false;
13 | if (!old == !val) return;
14 | if (val) setFullscreen(cm);
15 | else setNormal(cm);
16 | });
17 |
18 | function setFullscreen(cm) {
19 | var wrap = cm.getWrapperElement();
20 | cm.state.fullScreenRestore = {scrollTop: window.pageYOffset, scrollLeft: window.pageXOffset,
21 | width: wrap.style.width, height: wrap.style.height};
22 | wrap.style.width = "";
23 | wrap.style.height = "auto";
24 | wrap.className += " CodeMirror-fullscreen";
25 | document.documentElement.style.overflow = "hidden";
26 | cm.refresh();
27 | }
28 |
29 | function setNormal(cm) {
30 | var wrap = cm.getWrapperElement();
31 | wrap.className = wrap.className.replace(/\s*CodeMirror-fullscreen\b/, "");
32 | document.documentElement.style.overflow = "";
33 | var info = cm.state.fullScreenRestore;
34 | wrap.style.width = info.width; wrap.style.height = info.height;
35 | window.scrollTo(info.scrollLeft, info.scrollTop);
36 | cm.refresh();
37 | }
38 | });
39 |
--------------------------------------------------------------------------------
/www/vendor/codemirror-4.0/addon/edit/continuelist.js:
--------------------------------------------------------------------------------
1 | (function(mod) {
2 | if (typeof exports == "object" && typeof module == "object") // CommonJS
3 | mod(require("../../lib/codemirror"));
4 | else if (typeof define == "function" && define.amd) // AMD
5 | define(["../../lib/codemirror"], mod);
6 | else // Plain browser env
7 | mod(CodeMirror);
8 | })(function(CodeMirror) {
9 | "use strict";
10 |
11 | var listRE = /^(\s*)([*+-]|(\d+)\.)(\s*)/,
12 | unorderedBullets = "*+-";
13 |
14 | CodeMirror.commands.newlineAndIndentContinueMarkdownList = function(cm) {
15 | if (cm.getOption("disableInput")) return CodeMirror.Pass;
16 | var ranges = cm.listSelections(), replacements = [];
17 | for (var i = 0; i < ranges.length; i++) {
18 | var pos = ranges[i].head, match;
19 | var inList = cm.getStateAfter(pos.line).list !== false;
20 |
21 | if (!ranges[i].empty() || !inList || !(match = cm.getLine(pos.line).match(listRE))) {
22 | cm.execCommand("newlineAndIndent");
23 | return;
24 | }
25 | var indent = match[1], after = match[4];
26 | var bullet = unorderedBullets.indexOf(match[2]) >= 0
27 | ? match[2]
28 | : (parseInt(match[3], 10) + 1) + ".";
29 |
30 | replacements[i] = "\n" + indent + bullet + after;
31 | }
32 |
33 | cm.replaceSelections(replacements);
34 | };
35 | });
36 |
--------------------------------------------------------------------------------
/www/vendor/codemirror-4.0/addon/edit/trailingspace.js:
--------------------------------------------------------------------------------
1 | (function(mod) {
2 | if (typeof exports == "object" && typeof module == "object") // CommonJS
3 | mod(require("../../lib/codemirror"));
4 | else if (typeof define == "function" && define.amd) // AMD
5 | define(["../../lib/codemirror"], mod);
6 | else // Plain browser env
7 | mod(CodeMirror);
8 | })(function(CodeMirror) {
9 | CodeMirror.defineOption("showTrailingSpace", false, function(cm, val, prev) {
10 | if (prev == CodeMirror.Init) prev = false;
11 | if (prev && !val)
12 | cm.removeOverlay("trailingspace");
13 | else if (!prev && val)
14 | cm.addOverlay({
15 | token: function(stream) {
16 | for (var l = stream.string.length, i = l; i && /\s/.test(stream.string.charAt(i - 1)); --i) {}
17 | if (i > stream.pos) { stream.pos = i; return null; }
18 | stream.pos = l;
19 | return "trailingspace";
20 | },
21 | name: "trailingspace"
22 | });
23 | });
24 | });
25 |
--------------------------------------------------------------------------------
/www/vendor/codemirror-4.0/addon/fold/foldgutter.css:
--------------------------------------------------------------------------------
1 | .CodeMirror-foldmarker {
2 | color: blue;
3 | text-shadow: #b9f 1px 1px 2px, #b9f -1px -1px 2px, #b9f 1px -1px 2px, #b9f -1px 1px 2px;
4 | font-family: arial;
5 | line-height: .3;
6 | cursor: pointer;
7 | }
8 | .CodeMirror-foldgutter {
9 | width: .7em;
10 | }
11 | .CodeMirror-foldgutter-open,
12 | .CodeMirror-foldgutter-folded {
13 | color: #555;
14 | cursor: pointer;
15 | }
16 | .CodeMirror-foldgutter-open:after {
17 | content: "\25BE";
18 | }
19 | .CodeMirror-foldgutter-folded:after {
20 | content: "\25B8";
21 | }
22 |
--------------------------------------------------------------------------------
/www/vendor/codemirror-4.0/addon/hint/show-hint.css:
--------------------------------------------------------------------------------
1 | .CodeMirror-hints {
2 | position: absolute;
3 | z-index: 10;
4 | overflow: hidden;
5 | list-style: none;
6 |
7 | margin: 0;
8 | padding: 2px;
9 |
10 | -webkit-box-shadow: 2px 3px 5px rgba(0,0,0,.2);
11 | -moz-box-shadow: 2px 3px 5px rgba(0,0,0,.2);
12 | box-shadow: 2px 3px 5px rgba(0,0,0,.2);
13 | border-radius: 3px;
14 | border: 1px solid silver;
15 |
16 | background: white;
17 | font-size: 90%;
18 | font-family: monospace;
19 |
20 | max-height: 20em;
21 | overflow-y: auto;
22 | }
23 |
24 | .CodeMirror-hint {
25 | margin: 0;
26 | padding: 0 4px;
27 | border-radius: 2px;
28 | max-width: 19em;
29 | overflow: hidden;
30 | white-space: pre;
31 | color: black;
32 | cursor: pointer;
33 | }
34 |
35 | .CodeMirror-hint-active {
36 | background: #08f;
37 | color: white;
38 | }
39 |
--------------------------------------------------------------------------------
/www/vendor/codemirror-4.0/addon/lint/coffeescript-lint.js:
--------------------------------------------------------------------------------
1 | // Depends on coffeelint.js from http://www.coffeelint.org/js/coffeelint.js
2 |
3 | // declare global: coffeelint
4 |
5 | (function(mod) {
6 | if (typeof exports == "object" && typeof module == "object") // CommonJS
7 | mod(require("../../lib/codemirror"));
8 | else if (typeof define == "function" && define.amd) // AMD
9 | define(["../../lib/codemirror"], mod);
10 | else // Plain browser env
11 | mod(CodeMirror);
12 | })(function(CodeMirror) {
13 | "use strict";
14 |
15 | CodeMirror.registerHelper("lint", "coffeescript", function(text) {
16 | var found = [];
17 | var parseError = function(err) {
18 | var loc = err.lineNumber;
19 | found.push({from: CodeMirror.Pos(loc-1, 0),
20 | to: CodeMirror.Pos(loc, 0),
21 | severity: err.level,
22 | message: err.message});
23 | };
24 | try {
25 | var res = coffeelint.lint(text);
26 | for(var i = 0; i < res.length; i++) {
27 | parseError(res[i]);
28 | }
29 | } catch(e) {
30 | found.push({from: CodeMirror.Pos(e.location.first_line, 0),
31 | to: CodeMirror.Pos(e.location.last_line, e.location.last_column),
32 | severity: 'error',
33 | message: e.message});
34 | }
35 | return found;
36 | });
37 |
38 | });
39 |
--------------------------------------------------------------------------------
/www/vendor/codemirror-4.0/addon/lint/css-lint.js:
--------------------------------------------------------------------------------
1 | // Depends on csslint.js from https://github.com/stubbornella/csslint
2 |
3 | // declare global: CSSLint
4 |
5 | (function(mod) {
6 | if (typeof exports == "object" && typeof module == "object") // CommonJS
7 | mod(require("../../lib/codemirror"));
8 | else if (typeof define == "function" && define.amd) // AMD
9 | define(["../../lib/codemirror"], mod);
10 | else // Plain browser env
11 | mod(CodeMirror);
12 | })(function(CodeMirror) {
13 | "use strict";
14 |
15 | CodeMirror.registerHelper("lint", "css", function(text) {
16 | var found = [];
17 | var results = CSSLint.verify(text), messages = results.messages, message = null;
18 | for ( var i = 0; i < messages.length; i++) {
19 | message = messages[i];
20 | var startLine = message.line -1, endLine = message.line -1, startCol = message.col -1, endCol = message.col;
21 | found.push({
22 | from: CodeMirror.Pos(startLine, startCol),
23 | to: CodeMirror.Pos(endLine, endCol),
24 | message: message.message,
25 | severity : message.type
26 | });
27 | }
28 | return found;
29 | });
30 |
31 | });
32 |
--------------------------------------------------------------------------------
/www/vendor/codemirror-4.0/addon/lint/json-lint.js:
--------------------------------------------------------------------------------
1 | // Depends on jsonlint.js from https://github.com/zaach/jsonlint
2 |
3 | // declare global: jsonlint
4 |
5 | (function(mod) {
6 | if (typeof exports == "object" && typeof module == "object") // CommonJS
7 | mod(require("../../lib/codemirror"));
8 | else if (typeof define == "function" && define.amd) // AMD
9 | define(["../../lib/codemirror"], mod);
10 | else // Plain browser env
11 | mod(CodeMirror);
12 | })(function(CodeMirror) {
13 | "use strict";
14 |
15 | CodeMirror.registerHelper("lint", "json", function(text) {
16 | var found = [];
17 | jsonlint.parseError = function(str, hash) {
18 | var loc = hash.loc;
19 | found.push({from: CodeMirror.Pos(loc.first_line - 1, loc.first_column),
20 | to: CodeMirror.Pos(loc.last_line - 1, loc.last_column),
21 | message: str});
22 | };
23 | try { jsonlint.parse(text); }
24 | catch(e) {}
25 | return found;
26 | });
27 |
28 | });
29 |
--------------------------------------------------------------------------------
/www/vendor/codemirror-4.0/addon/lint/yaml-lint.js:
--------------------------------------------------------------------------------
1 | (function(mod) {
2 | if (typeof exports == "object" && typeof module == "object") // CommonJS
3 | mod(require("../../lib/codemirror"));
4 | else if (typeof define == "function" && define.amd) // AMD
5 | define(["../../lib/codemirror"], mod);
6 | else // Plain browser env
7 | mod(CodeMirror);
8 | })(function(CodeMirror) {
9 | "use strict";
10 |
11 | // Depends on js-yaml.js from https://github.com/nodeca/js-yaml
12 |
13 | // declare global: jsyaml
14 |
15 | CodeMirror.registerHelper("lint", "yaml", function(text) {
16 | var found = [];
17 | try { jsyaml.load(text); }
18 | catch(e) {
19 | var loc = e.mark;
20 | found.push({ from: CodeMirror.Pos(loc.line, loc.column), to: CodeMirror.Pos(loc.line, loc.column), message: e.message });
21 | }
22 | return found;
23 | });
24 |
25 | });
26 |
--------------------------------------------------------------------------------
/www/vendor/codemirror-4.0/addon/mode/multiplex_test.js:
--------------------------------------------------------------------------------
1 | (function() {
2 | CodeMirror.defineMode("markdown_with_stex", function(){
3 | var inner = CodeMirror.getMode({}, "stex");
4 | var outer = CodeMirror.getMode({}, "markdown");
5 |
6 | var innerOptions = {
7 | open: '$',
8 | close: '$',
9 | mode: inner,
10 | delimStyle: 'delim',
11 | innerStyle: 'inner'
12 | };
13 |
14 | return CodeMirror.multiplexingMode(outer, innerOptions);
15 | });
16 |
17 | var mode = CodeMirror.getMode({}, "markdown_with_stex");
18 |
19 | function MT(name) {
20 | test.mode(
21 | name,
22 | mode,
23 | Array.prototype.slice.call(arguments, 1),
24 | 'multiplexing');
25 | }
26 |
27 | MT(
28 | "stexInsideMarkdown",
29 | "[strong **Equation:**] [delim $][inner&tag \\pi][delim $]");
30 | })();
31 |
--------------------------------------------------------------------------------
/www/vendor/codemirror-4.0/addon/runmode/colorize.js:
--------------------------------------------------------------------------------
1 | (function(mod) {
2 | if (typeof exports == "object" && typeof module == "object") // CommonJS
3 | mod(require("../../lib/codemirror"), require("./runmode"));
4 | else if (typeof define == "function" && define.amd) // AMD
5 | define(["../../lib/codemirror", "./runmode"], mod);
6 | else // Plain browser env
7 | mod(CodeMirror);
8 | })(function(CodeMirror) {
9 | "use strict";
10 |
11 | var isBlock = /^(p|li|div|h\\d|pre|blockquote|td)$/;
12 |
13 | function textContent(node, out) {
14 | if (node.nodeType == 3) return out.push(node.nodeValue);
15 | for (var ch = node.firstChild; ch; ch = ch.nextSibling) {
16 | textContent(ch, out);
17 | if (isBlock.test(node.nodeType)) out.push("\n");
18 | }
19 | }
20 |
21 | CodeMirror.colorize = function(collection, defaultMode) {
22 | if (!collection) collection = document.body.getElementsByTagName("pre");
23 |
24 | for (var i = 0; i < collection.length; ++i) {
25 | var node = collection[i];
26 | var mode = node.getAttribute("data-lang") || defaultMode;
27 | if (!mode) continue;
28 |
29 | var text = [];
30 | textContent(node, text);
31 | node.innerHTML = "";
32 | CodeMirror.runMode(text.join(""), mode, node);
33 |
34 | node.className += " cm-s-default";
35 | }
36 | };
37 | });
38 |
--------------------------------------------------------------------------------
/www/vendor/codemirror-4.0/addon/scroll/scrollpastend.js:
--------------------------------------------------------------------------------
1 | (function(mod) {
2 | if (typeof exports == "object" && typeof module == "object") // CommonJS
3 | mod(require("../../lib/codemirror"));
4 | else if (typeof define == "function" && define.amd) // AMD
5 | define(["../../lib/codemirror"], mod);
6 | else // Plain browser env
7 | mod(CodeMirror);
8 | })(function(CodeMirror) {
9 | "use strict";
10 |
11 | CodeMirror.defineOption("scrollPastEnd", false, function(cm, val, old) {
12 | if (old && old != CodeMirror.Init) {
13 | cm.off("change", onChange);
14 | cm.off("refresh", updateBottomMargin);
15 | cm.display.lineSpace.parentNode.style.paddingBottom = "";
16 | cm.state.scrollPastEndPadding = null;
17 | }
18 | if (val) {
19 | cm.on("change", onChange);
20 | cm.on("refresh", updateBottomMargin);
21 | updateBottomMargin(cm);
22 | }
23 | });
24 |
25 | function onChange(cm, change) {
26 | if (CodeMirror.changeEnd(change).line == cm.lastLine())
27 | updateBottomMargin(cm);
28 | }
29 |
30 | function updateBottomMargin(cm) {
31 | var padding = "";
32 | if (cm.lineCount() > 1) {
33 | var totalH = cm.display.scroller.clientHeight - 30,
34 | lastLineH = cm.getLineHandle(cm.lastLine()).height;
35 | padding = (totalH - lastLineH) + "px";
36 | }
37 | if (cm.state.scrollPastEndPadding != padding) {
38 | cm.state.scrollPastEndPadding = padding;
39 | cm.display.lineSpace.parentNode.style.paddingBottom = padding;
40 | cm.setSize();
41 | }
42 | }
43 | });
44 |
--------------------------------------------------------------------------------
/www/vendor/codemirror-4.0/addon/tern/worker.js:
--------------------------------------------------------------------------------
1 | // declare global: tern, server
2 |
3 | var server;
4 |
5 | this.onmessage = function(e) {
6 | var data = e.data;
7 | switch (data.type) {
8 | case "init": return startServer(data.defs, data.plugins, data.scripts);
9 | case "add": return server.addFile(data.name, data.text);
10 | case "del": return server.delFile(data.name);
11 | case "req": return server.request(data.body, function(err, reqData) {
12 | postMessage({id: data.id, body: reqData, err: err && String(err)});
13 | });
14 | case "getFile":
15 | var c = pending[data.id];
16 | delete pending[data.id];
17 | return c(data.err, data.text);
18 | default: throw new Error("Unknown message type: " + data.type);
19 | }
20 | };
21 |
22 | var nextId = 0, pending = {};
23 | function getFile(file, c) {
24 | postMessage({type: "getFile", name: file, id: ++nextId});
25 | pending[nextId] = c;
26 | }
27 |
28 | function startServer(defs, plugins, scripts) {
29 | if (scripts) importScripts.apply(null, scripts);
30 |
31 | server = new tern.Server({
32 | getFile: getFile,
33 | async: true,
34 | defs: defs,
35 | plugins: plugins
36 | });
37 | }
38 |
39 | var console = {
40 | log: function(v) { postMessage({type: "debug", message: v}); }
41 | };
42 |
--------------------------------------------------------------------------------
/www/vendor/codemirror-4.0/bin/authors.sh:
--------------------------------------------------------------------------------
1 | # Combine existing list of authors with everyone known in git, sort, add header.
2 | tail --lines=+3 AUTHORS > AUTHORS.tmp
3 | git log --format='%aN' >> AUTHORS.tmp
4 | echo -e "List of CodeMirror contributors. Updated before every release.\n" > AUTHORS
5 | sort -u AUTHORS.tmp >> AUTHORS
6 | rm -f AUTHORS.tmp
7 |
--------------------------------------------------------------------------------
/www/vendor/codemirror-4.0/bin/lint:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 |
3 | var lint = require("../test/lint/lint"),
4 | path = require("path");
5 |
6 | if (process.argv.length > 2) {
7 | lint.checkDir(process.argv[2]);
8 | } else {
9 | process.chdir(path.resolve(__dirname, ".."));
10 | lint.checkDir("lib");
11 | lint.checkDir("mode");
12 | lint.checkDir("addon");
13 | lint.checkDir("keymap");
14 | }
15 |
16 | process.exit(lint.success() ? 0 : 1);
17 |
--------------------------------------------------------------------------------
/www/vendor/codemirror-4.0/bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "CodeMirror",
3 | "main": ["lib/codemirror.js", "lib/codemirror.css"],
4 | "ignore": [
5 | "**/.*",
6 | "node_modules",
7 | "components",
8 | "bin",
9 | "demo",
10 | "doc",
11 | "test",
12 | "index.html",
13 | "package.json"
14 | ]
15 | }
16 |
--------------------------------------------------------------------------------
/www/vendor/codemirror-4.0/demo/closetag.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | CodeMirror: Close-Tag Demo
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
18 |
19 |

20 |
21 |
26 |
29 |
30 |
31 |
32 | Close-Tag Demo
33 |
34 |
35 |
41 |
42 |
--------------------------------------------------------------------------------
/www/vendor/codemirror-4.0/demo/matchtags.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | CodeMirror: Tag Matcher Demo
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
16 |
17 |

18 |
19 |
24 |
27 |
28 |
29 |
30 | Tag Matcher Demo
31 |
32 |
33 |
34 |
35 |
45 |
46 | Put the cursor on or inside a pair of tags to highlight them.
47 | Press Ctrl-J to jump to the tag that matches the one under the
48 | cursor.
49 |
50 |
--------------------------------------------------------------------------------
/www/vendor/codemirror-4.0/doc/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OnsenUI/onsen-css-components/4f09d4ce6a2689efb6e488e0cd07b5331dfae4a4/www/vendor/codemirror-4.0/doc/logo.png
--------------------------------------------------------------------------------
/www/vendor/codemirror-4.0/mode/diff/diff.js:
--------------------------------------------------------------------------------
1 | (function(mod) {
2 | if (typeof exports == "object" && typeof module == "object") // CommonJS
3 | mod(require("../../lib/codemirror"));
4 | else if (typeof define == "function" && define.amd) // AMD
5 | define(["../../lib/codemirror"], mod);
6 | else // Plain browser env
7 | mod(CodeMirror);
8 | })(function(CodeMirror) {
9 | "use strict";
10 |
11 | CodeMirror.defineMode("diff", function() {
12 |
13 | var TOKEN_NAMES = {
14 | '+': 'positive',
15 | '-': 'negative',
16 | '@': 'meta'
17 | };
18 |
19 | return {
20 | token: function(stream) {
21 | var tw_pos = stream.string.search(/[\t ]+?$/);
22 |
23 | if (!stream.sol() || tw_pos === 0) {
24 | stream.skipToEnd();
25 | return ("error " + (
26 | TOKEN_NAMES[stream.string.charAt(0)] || '')).replace(/ $/, '');
27 | }
28 |
29 | var token_name = TOKEN_NAMES[stream.peek()] || stream.skipToEnd();
30 |
31 | if (tw_pos === -1) {
32 | stream.skipToEnd();
33 | } else {
34 | stream.pos = tw_pos;
35 | }
36 |
37 | return token_name;
38 | }
39 | };
40 | });
41 |
42 | CodeMirror.defineMIME("text/x-diff", "diff");
43 |
44 | });
45 |
--------------------------------------------------------------------------------
/www/vendor/codemirror-4.0/mode/ecl/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | CodeMirror: ECL mode
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |

13 |
14 |
19 |
23 |
24 |
25 |
26 | ECL mode
27 |
45 |
48 |
49 | Based on CodeMirror's clike mode. For more information see HPCC Systems web site.
50 | MIME types defined: text/x-ecl
.
51 |
52 |
53 |
--------------------------------------------------------------------------------
/www/vendor/codemirror-4.0/mode/http/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | CodeMirror: HTTP mode
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |

13 |
14 |
19 |
23 |
24 |
25 |
26 | HTTP mode
27 |
28 |
29 |
39 |
40 |
43 |
44 | MIME types defined: message/http
.
45 |
46 |
--------------------------------------------------------------------------------
/www/vendor/codemirror-4.0/mode/jinja2/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | CodeMirror: Jinja2 mode
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |

13 |
14 |
19 |
23 |
24 |
25 |
26 | Jinja2 mode
27 |
45 |
50 |
51 |
--------------------------------------------------------------------------------
/www/vendor/codemirror-4.0/mode/ntriples/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | CodeMirror: NTriples mode
4 |
5 |
6 |
7 |
8 |
9 |
10 |
15 |
16 |

17 |
18 |
23 |
27 |
28 |
29 |
30 | NTriples mode
31 |
40 |
41 |
44 | MIME types defined: text/n-triples
.
45 |
46 |
--------------------------------------------------------------------------------
/www/vendor/codemirror-4.0/mode/ruby/test.js:
--------------------------------------------------------------------------------
1 | (function() {
2 | var mode = CodeMirror.getMode({indentUnit: 2}, "ruby");
3 | function MT(name) { test.mode(name, mode, Array.prototype.slice.call(arguments, 1)); }
4 |
5 | MT("divide_equal_operator",
6 | "[variable bar] [operator /=] [variable foo]");
7 |
8 | MT("divide_equal_operator_no_spacing",
9 | "[variable foo][operator /=][number 42]");
10 |
11 | })();
12 |
--------------------------------------------------------------------------------
/www/vendor/codemirror-4.0/mode/rust/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | CodeMirror: Rust mode
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |

13 |
14 |
19 |
23 |
24 |
25 |
26 | Rust mode
27 |
28 |
29 |
52 |
53 |
58 |
59 | MIME types defined: text/x-rustsrc
.
60 |
61 |
--------------------------------------------------------------------------------
/www/vendor/codemirror-4.0/mode/solr/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | CodeMirror: Solr mode
4 |
5 |
6 |
7 |
8 |
9 |
10 |
20 |
21 |

22 |
23 |
28 |
32 |
33 |
34 |
35 | Solr mode
36 |
37 |
38 |
47 |
48 |
49 |
55 |
56 | MIME types defined: text/x-solr
.
57 |
58 |
--------------------------------------------------------------------------------
/www/vendor/codemirror-4.0/mode/tiddlywiki/tiddlywiki.css:
--------------------------------------------------------------------------------
1 | span.cm-underlined {
2 | text-decoration: underline;
3 | }
4 | span.cm-strikethrough {
5 | text-decoration: line-through;
6 | }
7 | span.cm-brace {
8 | color: #170;
9 | font-weight: bold;
10 | }
11 | span.cm-table {
12 | color: blue;
13 | font-weight: bold;
14 | }
15 |
--------------------------------------------------------------------------------
/www/vendor/codemirror-4.0/mode/tiki/tiki.css:
--------------------------------------------------------------------------------
1 | .cm-tw-syntaxerror {
2 | color: #FFF;
3 | background-color: #900;
4 | }
5 |
6 | .cm-tw-deleted {
7 | text-decoration: line-through;
8 | }
9 |
10 | .cm-tw-header5 {
11 | font-weight: bold;
12 | }
13 | .cm-tw-listitem:first-child { /*Added first child to fix duplicate padding when highlighting*/
14 | padding-left: 10px;
15 | }
16 |
17 | .cm-tw-box {
18 | border-top-width: 0px ! important;
19 | border-style: solid;
20 | border-width: 1px;
21 | border-color: inherit;
22 | }
23 |
24 | .cm-tw-underline {
25 | text-decoration: underline;
26 | }
--------------------------------------------------------------------------------
/www/vendor/codemirror-4.0/mode/turtle/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | CodeMirror: Turtle mode
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |

13 |
14 |
19 |
23 |
24 |
25 |
26 | Turtle mode
27 |
41 |
47 |
48 | MIME types defined: text/turtle
.
49 |
50 |
51 |
--------------------------------------------------------------------------------
/www/vendor/codemirror-4.0/mode/z80/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | CodeMirror: Z80 assembly mode
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |

13 |
14 |
19 |
23 |
24 |
25 |
26 | Z80 assembly mode
27 |
28 |
29 |
44 |
45 |
50 |
51 | MIME type defined: text/x-z80
.
52 |
53 |
--------------------------------------------------------------------------------
/www/vendor/codemirror-4.0/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "codemirror",
3 | "version":"4.0.3",
4 | "main": "lib/codemirror.js",
5 | "description": "In-browser code editing made bearable",
6 | "licenses": [{"type": "MIT",
7 | "url": "http://codemirror.net/LICENSE"}],
8 | "directories": {"lib": "./lib"},
9 | "scripts": {"test": "node ./test/run.js"},
10 | "devDependencies": {"node-static": "0.6.0",
11 | "phantomjs": "1.9.2-5"},
12 | "bugs": "http://github.com/marijnh/CodeMirror/issues",
13 | "keywords": ["JavaScript", "CodeMirror", "Editor"],
14 | "homepage": "http://codemirror.net",
15 | "maintainers":[{"name": "Marijn Haverbeke",
16 | "email": "marijnh@gmail.com",
17 | "web": "http://marijnhaverbeke.nl"}],
18 | "repository": {"type": "git",
19 | "url": "https://github.com/marijnh/CodeMirror.git"}
20 | }
21 |
--------------------------------------------------------------------------------
/www/vendor/codemirror-4.0/test/mode_test.css:
--------------------------------------------------------------------------------
1 | .mt-output .mt-token {
2 | border: 1px solid #ddd;
3 | white-space: pre;
4 | font-family: "Consolas", monospace;
5 | text-align: center;
6 | }
7 |
8 | .mt-output .mt-style {
9 | font-size: x-small;
10 | }
11 |
--------------------------------------------------------------------------------
/www/vendor/codemirror-4.0/test/phantom_driver.js:
--------------------------------------------------------------------------------
1 | var page = require('webpage').create();
2 |
3 | page.open("http://localhost:3000/test/index.html", function (status) {
4 | if (status != "success") {
5 | console.log("page couldn't be loaded successfully");
6 | phantom.exit(1);
7 | }
8 | waitFor(function () {
9 | return page.evaluate(function () {
10 | var output = document.getElementById('status');
11 | if (!output) { return false; }
12 | return (/^(\d+ failures?|all passed)/i).test(output.innerText);
13 | });
14 | }, function () {
15 | var failed = page.evaluate(function () { return window.failed; });
16 | var output = page.evaluate(function () {
17 | return document.getElementById('output').innerText + "\n" +
18 | document.getElementById('status').innerText;
19 | });
20 | console.log(output);
21 | phantom.exit(failed > 0 ? 1 : 0);
22 | });
23 | });
24 |
25 | function waitFor (test, cb) {
26 | if (test()) {
27 | cb();
28 | } else {
29 | setTimeout(function () { waitFor(test, cb); }, 250);
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/www/vendor/codemirror-4.0/test/run.js:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 |
3 | var lint = require("./lint/lint");
4 |
5 | lint.checkDir("mode");
6 | lint.checkDir("lib");
7 | lint.checkDir("addon");
8 | lint.checkDir("keymap");
9 |
10 | var ok = lint.success();
11 |
12 | var files = new (require('node-static').Server)();
13 |
14 | var server = require('http').createServer(function (req, res) {
15 | req.addListener('end', function () {
16 | files.serve(req, res, function (err/*, result */) {
17 | if (err) {
18 | console.error(err);
19 | process.exit(1);
20 | }
21 | });
22 | }).resume();
23 | }).addListener('error', function (err) {
24 | throw err;
25 | }).listen(3000, function () {
26 | var childProcess = require('child_process');
27 | var phantomjs = require("phantomjs");
28 | var childArgs = [
29 | require("path").join(__dirname, 'phantom_driver.js')
30 | ];
31 | childProcess.execFile(phantomjs.path, childArgs, function (err, stdout, stderr) {
32 | server.close();
33 | console.log(stdout);
34 | if (err) console.error(err);
35 | if (stderr) console.error(stderr);
36 | process.exit(err || stderr || !ok ? 1 : 0);
37 | });
38 | });
39 |
--------------------------------------------------------------------------------
/www/vendor/codemirror-4.0/theme/3024-day.css:
--------------------------------------------------------------------------------
1 | /*
2 |
3 | Name: 3024 day
4 | Author: Jan T. Sott (http://github.com/idleberg)
5 |
6 | CodeMirror template by Jan T. Sott (https://github.com/idleberg/base16-codemirror)
7 | Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16)
8 |
9 | */
10 |
11 | .cm-s-3024-day.CodeMirror {background: #f7f7f7; color: #3a3432;}
12 | .cm-s-3024-day div.CodeMirror-selected {background: #d6d5d4 !important;}
13 | .cm-s-3024-day .CodeMirror-gutters {background: #f7f7f7; border-right: 0px;}
14 | .cm-s-3024-day .CodeMirror-linenumber {color: #807d7c;}
15 | .cm-s-3024-day .CodeMirror-cursor {border-left: 1px solid #5c5855 !important;}
16 |
17 | .cm-s-3024-day span.cm-comment {color: #cdab53;}
18 | .cm-s-3024-day span.cm-atom {color: #a16a94;}
19 | .cm-s-3024-day span.cm-number {color: #a16a94;}
20 |
21 | .cm-s-3024-day span.cm-property, .cm-s-3024-day span.cm-attribute {color: #01a252;}
22 | .cm-s-3024-day span.cm-keyword {color: #db2d20;}
23 | .cm-s-3024-day span.cm-string {color: #fded02;}
24 |
25 | .cm-s-3024-day span.cm-variable {color: #01a252;}
26 | .cm-s-3024-day span.cm-variable-2 {color: #01a0e4;}
27 | .cm-s-3024-day span.cm-def {color: #e8bbd0;}
28 | .cm-s-3024-day span.cm-bracket {color: #3a3432;}
29 | .cm-s-3024-day span.cm-tag {color: #db2d20;}
30 | .cm-s-3024-day span.cm-link {color: #a16a94;}
31 | .cm-s-3024-day span.cm-error {background: #db2d20; color: #5c5855;}
32 |
33 | .cm-s-3024-day .CodeMirror-activeline-background {background: #e8f2ff !important;}
34 | .cm-s-3024-day .CodeMirror-matchingbracket { text-decoration: underline; color: white !important;}
35 |
--------------------------------------------------------------------------------
/www/vendor/codemirror-4.0/theme/3024-night.css:
--------------------------------------------------------------------------------
1 | /*
2 |
3 | Name: 3024 night
4 | Author: Jan T. Sott (http://github.com/idleberg)
5 |
6 | CodeMirror template by Jan T. Sott (https://github.com/idleberg/base16-codemirror)
7 | Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16)
8 |
9 | */
10 |
11 | .cm-s-3024-night.CodeMirror {background: #090300; color: #d6d5d4;}
12 | .cm-s-3024-night div.CodeMirror-selected {background: #3a3432 !important;}
13 | .cm-s-3024-night .CodeMirror-gutters {background: #090300; border-right: 0px;}
14 | .cm-s-3024-night .CodeMirror-linenumber {color: #5c5855;}
15 | .cm-s-3024-night .CodeMirror-cursor {border-left: 1px solid #807d7c !important;}
16 |
17 | .cm-s-3024-night span.cm-comment {color: #cdab53;}
18 | .cm-s-3024-night span.cm-atom {color: #a16a94;}
19 | .cm-s-3024-night span.cm-number {color: #a16a94;}
20 |
21 | .cm-s-3024-night span.cm-property, .cm-s-3024-night span.cm-attribute {color: #01a252;}
22 | .cm-s-3024-night span.cm-keyword {color: #db2d20;}
23 | .cm-s-3024-night span.cm-string {color: #fded02;}
24 |
25 | .cm-s-3024-night span.cm-variable {color: #01a252;}
26 | .cm-s-3024-night span.cm-variable-2 {color: #01a0e4;}
27 | .cm-s-3024-night span.cm-def {color: #e8bbd0;}
28 | .cm-s-3024-night span.cm-bracket {color: #d6d5d4;}
29 | .cm-s-3024-night span.cm-tag {color: #db2d20;}
30 | .cm-s-3024-night span.cm-link {color: #a16a94;}
31 | .cm-s-3024-night span.cm-error {background: #db2d20; color: #807d7c;}
32 |
33 | .cm-s-3024-night .CodeMirror-activeline-background {background: #2F2F2F !important;}
34 | .cm-s-3024-night .CodeMirror-matchingbracket { text-decoration: underline; color: white !important;}
35 |
--------------------------------------------------------------------------------
/www/vendor/codemirror-4.0/theme/ambiance-mobile.css:
--------------------------------------------------------------------------------
1 | .cm-s-ambiance.CodeMirror {
2 | -webkit-box-shadow: none;
3 | -moz-box-shadow: none;
4 | box-shadow: none;
5 | }
6 |
--------------------------------------------------------------------------------
/www/vendor/codemirror-4.0/theme/blackboard.css:
--------------------------------------------------------------------------------
1 | /* Port of TextMate's Blackboard theme */
2 |
3 | .cm-s-blackboard.CodeMirror { background: #0C1021; color: #F8F8F8; }
4 | .cm-s-blackboard .CodeMirror-selected { background: #253B76 !important; }
5 | .cm-s-blackboard .CodeMirror-gutters { background: #0C1021; border-right: 0; }
6 | .cm-s-blackboard .CodeMirror-linenumber { color: #888; }
7 | .cm-s-blackboard .CodeMirror-cursor { border-left: 1px solid #A7A7A7 !important; }
8 |
9 | .cm-s-blackboard .cm-keyword { color: #FBDE2D; }
10 | .cm-s-blackboard .cm-atom { color: #D8FA3C; }
11 | .cm-s-blackboard .cm-number { color: #D8FA3C; }
12 | .cm-s-blackboard .cm-def { color: #8DA6CE; }
13 | .cm-s-blackboard .cm-variable { color: #FF6400; }
14 | .cm-s-blackboard .cm-operator { color: #FBDE2D;}
15 | .cm-s-blackboard .cm-comment { color: #AEAEAE; }
16 | .cm-s-blackboard .cm-string { color: #61CE3C; }
17 | .cm-s-blackboard .cm-string-2 { color: #61CE3C; }
18 | .cm-s-blackboard .cm-meta { color: #D8FA3C; }
19 | .cm-s-blackboard .cm-builtin { color: #8DA6CE; }
20 | .cm-s-blackboard .cm-tag { color: #8DA6CE; }
21 | .cm-s-blackboard .cm-attribute { color: #8DA6CE; }
22 | .cm-s-blackboard .cm-header { color: #FF6400; }
23 | .cm-s-blackboard .cm-hr { color: #AEAEAE; }
24 | .cm-s-blackboard .cm-link { color: #8DA6CE; }
25 | .cm-s-blackboard .cm-error { background: #9D1E15; color: #F8F8F8; }
26 |
27 | .cm-s-blackboard .CodeMirror-activeline-background {background: #3C3636 !important;}
28 | .cm-s-blackboard .CodeMirror-matchingbracket {outline:1px solid grey;color:white !important}
--------------------------------------------------------------------------------
/www/vendor/codemirror-4.0/theme/cobalt.css:
--------------------------------------------------------------------------------
1 | .cm-s-cobalt.CodeMirror { background: #002240; color: white; }
2 | .cm-s-cobalt div.CodeMirror-selected { background: #b36539 !important; }
3 | .cm-s-cobalt .CodeMirror-gutters { background: #002240; border-right: 1px solid #aaa; }
4 | .cm-s-cobalt .CodeMirror-linenumber { color: #d0d0d0; }
5 | .cm-s-cobalt .CodeMirror-cursor { border-left: 1px solid white !important; }
6 |
7 | .cm-s-cobalt span.cm-comment { color: #08f; }
8 | .cm-s-cobalt span.cm-atom { color: #845dc4; }
9 | .cm-s-cobalt span.cm-number, .cm-s-cobalt span.cm-attribute { color: #ff80e1; }
10 | .cm-s-cobalt span.cm-keyword { color: #ffee80; }
11 | .cm-s-cobalt span.cm-string { color: #3ad900; }
12 | .cm-s-cobalt span.cm-meta { color: #ff9d00; }
13 | .cm-s-cobalt span.cm-variable-2, .cm-s-cobalt span.cm-tag { color: #9effff; }
14 | .cm-s-cobalt span.cm-variable-3, .cm-s-cobalt span.cm-def { color: white; }
15 | .cm-s-cobalt span.cm-bracket { color: #d8d8d8; }
16 | .cm-s-cobalt span.cm-builtin, .cm-s-cobalt span.cm-special { color: #ff9e59; }
17 | .cm-s-cobalt span.cm-link { color: #845dc4; }
18 | .cm-s-cobalt span.cm-error { color: #9d1e15; }
19 |
20 | .cm-s-cobalt .CodeMirror-activeline-background {background: #002D57 !important;}
21 | .cm-s-cobalt .CodeMirror-matchingbracket {outline:1px solid grey;color:white !important}
22 |
--------------------------------------------------------------------------------
/www/vendor/codemirror-4.0/theme/eclipse.css:
--------------------------------------------------------------------------------
1 | .cm-s-eclipse span.cm-meta {color: #FF1717;}
2 | .cm-s-eclipse span.cm-keyword { line-height: 1em; font-weight: bold; color: #7F0055; }
3 | .cm-s-eclipse span.cm-atom {color: #219;}
4 | .cm-s-eclipse span.cm-number {color: #164;}
5 | .cm-s-eclipse span.cm-def {color: #00f;}
6 | .cm-s-eclipse span.cm-variable {color: black;}
7 | .cm-s-eclipse span.cm-variable-2 {color: #0000C0;}
8 | .cm-s-eclipse span.cm-variable-3 {color: #0000C0;}
9 | .cm-s-eclipse span.cm-property {color: black;}
10 | .cm-s-eclipse span.cm-operator {color: black;}
11 | .cm-s-eclipse span.cm-comment {color: #3F7F5F;}
12 | .cm-s-eclipse span.cm-string {color: #2A00FF;}
13 | .cm-s-eclipse span.cm-string-2 {color: #f50;}
14 | .cm-s-eclipse span.cm-qualifier {color: #555;}
15 | .cm-s-eclipse span.cm-builtin {color: #30a;}
16 | .cm-s-eclipse span.cm-bracket {color: #cc7;}
17 | .cm-s-eclipse span.cm-tag {color: #170;}
18 | .cm-s-eclipse span.cm-attribute {color: #00c;}
19 | .cm-s-eclipse span.cm-link {color: #219;}
20 | .cm-s-eclipse span.cm-error {color: #f00;}
21 |
22 | .cm-s-eclipse .CodeMirror-activeline-background {background: #e8f2ff !important;}
23 | .cm-s-eclipse .CodeMirror-matchingbracket {outline:1px solid grey; color:black !important;}
24 |
--------------------------------------------------------------------------------
/www/vendor/codemirror-4.0/theme/elegant.css:
--------------------------------------------------------------------------------
1 | .cm-s-elegant span.cm-number, .cm-s-elegant span.cm-string, .cm-s-elegant span.cm-atom {color: #762;}
2 | .cm-s-elegant span.cm-comment {color: #262; font-style: italic; line-height: 1em;}
3 | .cm-s-elegant span.cm-meta {color: #555; font-style: italic; line-height: 1em;}
4 | .cm-s-elegant span.cm-variable {color: black;}
5 | .cm-s-elegant span.cm-variable-2 {color: #b11;}
6 | .cm-s-elegant span.cm-qualifier {color: #555;}
7 | .cm-s-elegant span.cm-keyword {color: #730;}
8 | .cm-s-elegant span.cm-builtin {color: #30a;}
9 | .cm-s-elegant span.cm-link {color: #762;}
10 | .cm-s-elegant span.cm-error {background-color: #fdd;}
11 |
12 | .cm-s-elegant .CodeMirror-activeline-background {background: #e8f2ff !important;}
13 | .cm-s-elegant .CodeMirror-matchingbracket {outline:1px solid grey; color:black !important;}
14 |
--------------------------------------------------------------------------------
/www/vendor/codemirror-4.0/theme/mbo.css:
--------------------------------------------------------------------------------
1 | /* Based on mbonaci's Brackets mbo theme */
2 |
3 | .cm-s-mbo.CodeMirror {background: #2c2c2c; color: #ffffe9;}
4 | .cm-s-mbo div.CodeMirror-selected {background: #716C62 !important;}
5 | .cm-s-mbo .CodeMirror-gutters {background: #4e4e4e; border-right: 0px;}
6 | .cm-s-mbo .CodeMirror-linenumber {color: #dadada;}
7 | .cm-s-mbo .CodeMirror-cursor {border-left: 1px solid #ffffec !important;}
8 |
9 | .cm-s-mbo span.cm-comment {color: #95958a;}
10 | .cm-s-mbo span.cm-atom {color: #00a8c6;}
11 | .cm-s-mbo span.cm-number {color: #00a8c6;}
12 |
13 | .cm-s-mbo span.cm-property, .cm-s-mbo span.cm-attribute {color: #9ddfe9;}
14 | .cm-s-mbo span.cm-keyword {color: #ffb928;}
15 | .cm-s-mbo span.cm-string {color: #ffcf6c;}
16 |
17 | .cm-s-mbo span.cm-variable {color: #ffffec;}
18 | .cm-s-mbo span.cm-variable-2 {color: #00a8c6;}
19 | .cm-s-mbo span.cm-def {color: #ffffec;}
20 | .cm-s-mbo span.cm-bracket {color: #fffffc; font-weight: bold;}
21 | .cm-s-mbo span.cm-tag {color: #9ddfe9;}
22 | .cm-s-mbo span.cm-link {color: #f54b07;}
23 | .cm-s-mbo span.cm-error {background: #636363; color: #ffffec;}
24 |
25 | .cm-s-mbo .CodeMirror-activeline-background {background: #494b41 !important;}
26 | .cm-s-mbo .CodeMirror-matchingbracket {
27 | text-decoration: underline;
28 | color: #f5e107 !important;
29 | }
30 |
31 | .cm-s-mbo .CodeMirror-matchingtag {background: #4e4e4e;}
32 |
33 | .cm-s-mbo span.cm-searching {
34 | background-color: none;
35 | background: none;
36 | box-shadow: 0 0 0 1px #ffffec;
37 | }
38 |
--------------------------------------------------------------------------------
/www/vendor/codemirror-4.0/theme/monokai.css:
--------------------------------------------------------------------------------
1 | /* Based on Sublime Text's Monokai theme */
2 |
3 | .cm-s-monokai.CodeMirror {background: #272822; color: #f8f8f2;}
4 | .cm-s-monokai div.CodeMirror-selected {background: #49483E !important;}
5 | .cm-s-monokai .CodeMirror-gutters {background: #272822; border-right: 0px;}
6 | .cm-s-monokai .CodeMirror-linenumber {color: #d0d0d0;}
7 | .cm-s-monokai .CodeMirror-cursor {border-left: 1px solid #f8f8f0 !important;}
8 |
9 | .cm-s-monokai span.cm-comment {color: #75715e;}
10 | .cm-s-monokai span.cm-atom {color: #ae81ff;}
11 | .cm-s-monokai span.cm-number {color: #ae81ff;}
12 |
13 | .cm-s-monokai span.cm-property, .cm-s-monokai span.cm-attribute {color: #a6e22e;}
14 | .cm-s-monokai span.cm-keyword {color: #f92672;}
15 | .cm-s-monokai span.cm-string {color: #e6db74;}
16 |
17 | .cm-s-monokai span.cm-variable {color: #a6e22e;}
18 | .cm-s-monokai span.cm-variable-2 {color: #9effff;}
19 | .cm-s-monokai span.cm-def {color: #fd971f;}
20 | .cm-s-monokai span.cm-bracket {color: #f8f8f2;}
21 | .cm-s-monokai span.cm-tag {color: #f92672;}
22 | .cm-s-monokai span.cm-link {color: #ae81ff;}
23 | .cm-s-monokai span.cm-error {background: #f92672; color: #f8f8f0;}
24 |
25 | .cm-s-monokai .CodeMirror-activeline-background {background: #373831 !important;}
26 | .cm-s-monokai .CodeMirror-matchingbracket {
27 | text-decoration: underline;
28 | color: white !important;
29 | }
30 |
--------------------------------------------------------------------------------
/www/vendor/codemirror-4.0/theme/neat.css:
--------------------------------------------------------------------------------
1 | .cm-s-neat span.cm-comment { color: #a86; }
2 | .cm-s-neat span.cm-keyword { line-height: 1em; font-weight: bold; color: blue; }
3 | .cm-s-neat span.cm-string { color: #a22; }
4 | .cm-s-neat span.cm-builtin { line-height: 1em; font-weight: bold; color: #077; }
5 | .cm-s-neat span.cm-special { line-height: 1em; font-weight: bold; color: #0aa; }
6 | .cm-s-neat span.cm-variable { color: black; }
7 | .cm-s-neat span.cm-number, .cm-s-neat span.cm-atom { color: #3a3; }
8 | .cm-s-neat span.cm-meta {color: #555;}
9 | .cm-s-neat span.cm-link { color: #3a3; }
10 |
11 | .cm-s-neat .CodeMirror-activeline-background {background: #e8f2ff !important;}
12 | .cm-s-neat .CodeMirror-matchingbracket {outline:1px solid grey; color:black !important;}
13 |
--------------------------------------------------------------------------------
/www/vendor/codemirror-4.0/theme/night.css:
--------------------------------------------------------------------------------
1 | /* Loosely based on the Midnight Textmate theme */
2 |
3 | .cm-s-night.CodeMirror { background: #0a001f; color: #f8f8f8; }
4 | .cm-s-night div.CodeMirror-selected { background: #447 !important; }
5 | .cm-s-night .CodeMirror-gutters { background: #0a001f; border-right: 1px solid #aaa; }
6 | .cm-s-night .CodeMirror-linenumber { color: #f8f8f8; }
7 | .cm-s-night .CodeMirror-cursor { border-left: 1px solid white !important; }
8 |
9 | .cm-s-night span.cm-comment { color: #6900a1; }
10 | .cm-s-night span.cm-atom { color: #845dc4; }
11 | .cm-s-night span.cm-number, .cm-s-night span.cm-attribute { color: #ffd500; }
12 | .cm-s-night span.cm-keyword { color: #599eff; }
13 | .cm-s-night span.cm-string { color: #37f14a; }
14 | .cm-s-night span.cm-meta { color: #7678e2; }
15 | .cm-s-night span.cm-variable-2, .cm-s-night span.cm-tag { color: #99b2ff; }
16 | .cm-s-night span.cm-variable-3, .cm-s-night span.cm-def { color: white; }
17 | .cm-s-night span.cm-bracket { color: #8da6ce; }
18 | .cm-s-night span.cm-comment { color: #6900a1; }
19 | .cm-s-night span.cm-builtin, .cm-s-night span.cm-special { color: #ff9e59; }
20 | .cm-s-night span.cm-link { color: #845dc4; }
21 | .cm-s-night span.cm-error { color: #9d1e15; }
22 |
23 | .cm-s-night .CodeMirror-activeline-background {background: #1C005A !important;}
24 | .cm-s-night .CodeMirror-matchingbracket {outline:1px solid grey; color:white !important;}
25 |
--------------------------------------------------------------------------------
/www/vendor/codemirror-4.0/theme/paraiso-dark.css:
--------------------------------------------------------------------------------
1 | /*
2 |
3 | Name: Paraíso (Dark)
4 | Author: Jan T. Sott
5 |
6 | Color scheme by Jan T. Sott (https://github.com/idleberg/Paraiso-CodeMirror)
7 | Inspired by the art of Rubens LP (http://www.rubenslp.com.br)
8 |
9 | */
10 |
11 | .cm-s-paraiso-dark.CodeMirror {background: #2f1e2e; color: #b9b6b0;}
12 | .cm-s-paraiso-dark div.CodeMirror-selected {background: #41323f !important;}
13 | .cm-s-paraiso-dark .CodeMirror-gutters {background: #2f1e2e; border-right: 0px;}
14 | .cm-s-paraiso-dark .CodeMirror-linenumber {color: #776e71;}
15 | .cm-s-paraiso-dark .CodeMirror-cursor {border-left: 1px solid #8d8687 !important;}
16 |
17 | .cm-s-paraiso-dark span.cm-comment {color: #e96ba8;}
18 | .cm-s-paraiso-dark span.cm-atom {color: #815ba4;}
19 | .cm-s-paraiso-dark span.cm-number {color: #815ba4;}
20 |
21 | .cm-s-paraiso-dark span.cm-property, .cm-s-paraiso-dark span.cm-attribute {color: #48b685;}
22 | .cm-s-paraiso-dark span.cm-keyword {color: #ef6155;}
23 | .cm-s-paraiso-dark span.cm-string {color: #fec418;}
24 |
25 | .cm-s-paraiso-dark span.cm-variable {color: #48b685;}
26 | .cm-s-paraiso-dark span.cm-variable-2 {color: #06b6ef;}
27 | .cm-s-paraiso-dark span.cm-def {color: #f99b15;}
28 | .cm-s-paraiso-dark span.cm-bracket {color: #b9b6b0;}
29 | .cm-s-paraiso-dark span.cm-tag {color: #ef6155;}
30 | .cm-s-paraiso-dark span.cm-link {color: #815ba4;}
31 | .cm-s-paraiso-dark span.cm-error {background: #ef6155; color: #8d8687;}
32 |
33 | .cm-s-paraiso-dark .CodeMirror-activeline-background {background: #4D344A !important;}
34 | .cm-s-paraiso-dark .CodeMirror-matchingbracket { text-decoration: underline; color: white !important;}
35 |
--------------------------------------------------------------------------------
/www/vendor/codemirror-4.0/theme/rubyblue.css:
--------------------------------------------------------------------------------
1 | .cm-s-rubyblue { font-family: Trebuchet, Verdana, sans-serif; } /* - customized editor font - */
2 |
3 | .cm-s-rubyblue.CodeMirror { background: #112435; color: white; }
4 | .cm-s-rubyblue div.CodeMirror-selected { background: #38566F !important; }
5 | .cm-s-rubyblue .CodeMirror-gutters { background: #1F4661; border-right: 7px solid #3E7087; }
6 | .cm-s-rubyblue .CodeMirror-linenumber { color: white; }
7 | .cm-s-rubyblue .CodeMirror-cursor { border-left: 1px solid white !important; }
8 |
9 | .cm-s-rubyblue span.cm-comment { color: #999; font-style:italic; line-height: 1em; }
10 | .cm-s-rubyblue span.cm-atom { color: #F4C20B; }
11 | .cm-s-rubyblue span.cm-number, .cm-s-rubyblue span.cm-attribute { color: #82C6E0; }
12 | .cm-s-rubyblue span.cm-keyword { color: #F0F; }
13 | .cm-s-rubyblue span.cm-string { color: #F08047; }
14 | .cm-s-rubyblue span.cm-meta { color: #F0F; }
15 | .cm-s-rubyblue span.cm-variable-2, .cm-s-rubyblue span.cm-tag { color: #7BD827; }
16 | .cm-s-rubyblue span.cm-variable-3, .cm-s-rubyblue span.cm-def { color: white; }
17 | .cm-s-rubyblue span.cm-bracket { color: #F0F; }
18 | .cm-s-rubyblue span.cm-link { color: #F4C20B; }
19 | .cm-s-rubyblue span.CodeMirror-matchingbracket { color:#F0F !important; }
20 | .cm-s-rubyblue span.cm-builtin, .cm-s-rubyblue span.cm-special { color: #FF9D00; }
21 | .cm-s-rubyblue span.cm-error { color: #AF2018; }
22 |
23 | .cm-s-rubyblue .CodeMirror-activeline-background {background: #173047 !important;}
24 |
--------------------------------------------------------------------------------
/www/vendor/codemirror-4.0/theme/the-matrix.css:
--------------------------------------------------------------------------------
1 | .cm-s-the-matrix.CodeMirror { background: #000000; color: #00FF00; }
2 | .cm-s-the-matrix div.CodeMirror-selected { background: #2D2D2D !important; }
3 | .cm-s-the-matrix .CodeMirror-gutters { background: #060; border-right: 2px solid #00FF00; }
4 | .cm-s-the-matrix .CodeMirror-linenumber { color: #FFFFFF; }
5 | .cm-s-the-matrix .CodeMirror-cursor { border-left: 1px solid #00FF00 !important; }
6 |
7 | .cm-s-the-matrix span.cm-keyword {color: #008803; font-weight: bold;}
8 | .cm-s-the-matrix span.cm-atom {color: #3FF;}
9 | .cm-s-the-matrix span.cm-number {color: #FFB94F;}
10 | .cm-s-the-matrix span.cm-def {color: #99C;}
11 | .cm-s-the-matrix span.cm-variable {color: #F6C;}
12 | .cm-s-the-matrix span.cm-variable-2 {color: #C6F;}
13 | .cm-s-the-matrix span.cm-variable-3 {color: #96F;}
14 | .cm-s-the-matrix span.cm-property {color: #62FFA0;}
15 | .cm-s-the-matrix span.cm-operator {color: #999}
16 | .cm-s-the-matrix span.cm-comment {color: #CCCCCC;}
17 | .cm-s-the-matrix span.cm-string {color: #39C;}
18 | .cm-s-the-matrix span.cm-meta {color: #C9F;}
19 | .cm-s-the-matrix span.cm-qualifier {color: #FFF700;}
20 | .cm-s-the-matrix span.cm-builtin {color: #30a;}
21 | .cm-s-the-matrix span.cm-bracket {color: #cc7;}
22 | .cm-s-the-matrix span.cm-tag {color: #FFBD40;}
23 | .cm-s-the-matrix span.cm-attribute {color: #FFF700;}
24 | .cm-s-the-matrix span.cm-error {color: #FF0000;}
25 |
26 | .cm-s-the-matrix .CodeMirror-activeline-background {background: #040;}
27 |
--------------------------------------------------------------------------------
/www/views/components.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/www/views/htmlDialog.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
16 |
17 |
18 |
23 |
--------------------------------------------------------------------------------
/www/views/newsletterPopup.html:
--------------------------------------------------------------------------------
1 |
2 |
20 |
21 |
26 |
--------------------------------------------------------------------------------
/www/views/overview.html:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 | -
8 |
{{pattern.displayName}} T_SHOW_HTML
9 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/www/views/shareDialog.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
26 |
27 |
28 |
33 |
--------------------------------------------------------------------------------
/www/views/thankyouDialog.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
35 |
36 |
37 |
42 |
--------------------------------------------------------------------------------
/www/views/welcomeDialog.html:
--------------------------------------------------------------------------------
1 |
2 |
15 |
16 |
17 |
18 |
19 |
24 |
--------------------------------------------------------------------------------