utopia 1.9.2 → 1.9.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/documentation/.bowerrc +2 -2
- data/documentation/pages/_page.xnode +11 -0
- data/documentation/pages/wiki/controller/actions/content.md +76 -68
- data/documentation/pages/wiki/controller/rewrite/content.md +69 -64
- data/documentation/pages/wiki/controller.rb +6 -1
- data/documentation/pages/wiki/development-environment-setup/content.md +16 -14
- data/documentation/pages/wiki/server-setup/content.md +46 -40
- data/documentation/pages/wiki/show.xnode +1 -1
- data/documentation/pages/wiki/your-first-page/content.md +36 -31
- data/documentation/public/_components/jquery/core.js +482 -0
- data/documentation/public/_components/jquery/jquery.js +10220 -0
- data/documentation/public/_components/jquery/jquery.min.js +4 -0
- data/documentation/public/_components/jquery/jquery.min.map +1 -0
- data/documentation/public/_components/jquery/jquery.slim.js +8107 -0
- data/documentation/public/_components/jquery/jquery.slim.min.js +4 -0
- data/documentation/public/_components/jquery/jquery.slim.min.map +1 -0
- data/documentation/public/_components/jquery-syntax/.sass-cache/040afc1428b286fb3c50151378b349a6149698d3/jquery.syntax.core.sassc +0 -0
- data/documentation/public/_components/jquery-syntax/.sass-cache/098642d80a1682613dca2bba6fd0a3bc9fd2bf04/jquery.syntax.layout.editor.sassc +0 -0
- data/documentation/public/_components/jquery-syntax/.sass-cache/098642d80a1682613dca2bba6fd0a3bc9fd2bf04/jquery.syntax.layout.fixed.sassc +0 -0
- data/documentation/public/_components/jquery-syntax/.sass-cache/098642d80a1682613dca2bba6fd0a3bc9fd2bf04/jquery.syntax.layout.inline.sassc +0 -0
- data/documentation/public/_components/jquery-syntax/.sass-cache/098642d80a1682613dca2bba6fd0a3bc9fd2bf04/jquery.syntax.layout.list.sassc +0 -0
- data/documentation/public/_components/jquery-syntax/.sass-cache/098642d80a1682613dca2bba6fd0a3bc9fd2bf04/jquery.syntax.layout.plain.sassc +0 -0
- data/documentation/public/_components/jquery-syntax/.sass-cache/098642d80a1682613dca2bba6fd0a3bc9fd2bf04/jquery.syntax.layout.table.sassc +0 -0
- data/documentation/public/_components/jquery-syntax/.sass-cache/10c58b30c53bf84f8360af8a864797092be26882/jquery.syntax.core.sassc +0 -0
- data/documentation/public/_components/jquery-syntax/.sass-cache/10c58b30c53bf84f8360af8a864797092be26882/jquery.syntax.layout.fixed.sassc +0 -0
- data/documentation/public/_components/jquery-syntax/.sass-cache/10c58b30c53bf84f8360af8a864797092be26882/jquery.syntax.layout.inline.sassc +0 -0
- data/documentation/public/_components/jquery-syntax/.sass-cache/3c69ad94149e2a6d9f4ffda01814fee3947b1389/_layout.scssc +0 -0
- data/documentation/public/_components/jquery-syntax/.sass-cache/3c69ad94149e2a6d9f4ffda01814fee3947b1389/jquery.syntax.brush.apache.sassc +0 -0
- data/documentation/public/_components/jquery-syntax/.sass-cache/3c69ad94149e2a6d9f4ffda01814fee3947b1389/jquery.syntax.brush.applescript.sassc +0 -0
- data/documentation/public/_components/jquery-syntax/.sass-cache/3c69ad94149e2a6d9f4ffda01814fee3947b1389/jquery.syntax.brush.assembly.sassc +0 -0
- data/documentation/public/_components/jquery-syntax/.sass-cache/3c69ad94149e2a6d9f4ffda01814fee3947b1389/jquery.syntax.brush.bash-script.sassc +0 -0
- data/documentation/public/_components/jquery-syntax/.sass-cache/3c69ad94149e2a6d9f4ffda01814fee3947b1389/jquery.syntax.brush.bash.sassc +0 -0
- data/documentation/public/_components/jquery-syntax/.sass-cache/3c69ad94149e2a6d9f4ffda01814fee3947b1389/jquery.syntax.brush.clang.sassc +0 -0
- data/documentation/public/_components/jquery-syntax/.sass-cache/3c69ad94149e2a6d9f4ffda01814fee3947b1389/jquery.syntax.brush.css.sassc +0 -0
- data/documentation/public/_components/jquery-syntax/.sass-cache/3c69ad94149e2a6d9f4ffda01814fee3947b1389/jquery.syntax.brush.diff.sassc +0 -0
- data/documentation/public/_components/jquery-syntax/.sass-cache/3c69ad94149e2a6d9f4ffda01814fee3947b1389/jquery.syntax.brush.html.sassc +0 -0
- data/documentation/public/_components/jquery-syntax/.sass-cache/3c69ad94149e2a6d9f4ffda01814fee3947b1389/jquery.syntax.brush.ocaml.sassc +0 -0
- data/documentation/public/_components/jquery-syntax/.sass-cache/3c69ad94149e2a6d9f4ffda01814fee3947b1389/jquery.syntax.brush.protobuf.sassc +0 -0
- data/documentation/public/_components/jquery-syntax/.sass-cache/3c69ad94149e2a6d9f4ffda01814fee3947b1389/jquery.syntax.brush.python.sassc +0 -0
- data/documentation/public/_components/jquery-syntax/.sass-cache/3c69ad94149e2a6d9f4ffda01814fee3947b1389/jquery.syntax.brush.ruby.sassc +0 -0
- data/documentation/public/_components/jquery-syntax/.sass-cache/3c69ad94149e2a6d9f4ffda01814fee3947b1389/jquery.syntax.brush.xml.sassc +0 -0
- data/documentation/public/_components/jquery-syntax/.sass-cache/3c69ad94149e2a6d9f4ffda01814fee3947b1389/jquery.syntax.core.sassc +0 -0
- data/documentation/public/_components/jquery-syntax/.sass-cache/3c69ad94149e2a6d9f4ffda01814fee3947b1389/jquery.syntax.editor.sassc +0 -0
- data/documentation/public/_components/jquery-syntax/.sass-cache/3c69ad94149e2a6d9f4ffda01814fee3947b1389/jquery.syntax.layout.editor.sassc +0 -0
- data/documentation/public/_components/jquery-syntax/.sass-cache/3c69ad94149e2a6d9f4ffda01814fee3947b1389/jquery.syntax.layout.fixed.sassc +0 -0
- data/documentation/public/_components/jquery-syntax/.sass-cache/3c69ad94149e2a6d9f4ffda01814fee3947b1389/jquery.syntax.layout.list.sassc +0 -0
- data/documentation/public/_components/jquery-syntax/.sass-cache/3c69ad94149e2a6d9f4ffda01814fee3947b1389/jquery.syntax.layout.plain.sassc +0 -0
- data/documentation/public/_components/jquery-syntax/.sass-cache/3c69ad94149e2a6d9f4ffda01814fee3947b1389/jquery.syntax.layout.table.sassc +0 -0
- data/documentation/public/_components/jquery-syntax/.sass-cache/8638ad407c5ea29f6547cf8ac6983da587354889/master.sassc +0 -0
- data/documentation/public/_components/jquery-syntax/.sass-cache/b7ab87e6269b4fe89f9475b7a260077391d3567b/jquery.syntax.layout.editor.sassc +0 -0
- data/documentation/public/_components/jquery-syntax/.sass-cache/b7ab87e6269b4fe89f9475b7a260077391d3567b/jquery.syntax.layout.fixed.sassc +0 -0
- data/documentation/public/_components/jquery-syntax/.sass-cache/b7ab87e6269b4fe89f9475b7a260077391d3567b/jquery.syntax.layout.inline.sassc +0 -0
- data/documentation/public/_components/jquery-syntax/.sass-cache/b7ab87e6269b4fe89f9475b7a260077391d3567b/jquery.syntax.layout.plain.sassc +0 -0
- data/documentation/public/_components/jquery-syntax/.sass-cache/e82f8cf4c8436da086a4506e01ef78755ebab1ce/master.scssc +0 -0
- data/documentation/public/_components/jquery-syntax/base/jquery.syntax.brush.apache.css +6 -0
- data/documentation/public/_components/jquery-syntax/base/jquery.syntax.brush.applescript.css +5 -0
- data/documentation/public/_components/jquery-syntax/base/jquery.syntax.brush.assembly.css +8 -0
- data/documentation/public/_components/jquery-syntax/base/jquery.syntax.brush.bash-script.css +6 -0
- data/documentation/public/_components/jquery-syntax/base/jquery.syntax.brush.bash.css +10 -0
- data/documentation/public/_components/jquery-syntax/base/jquery.syntax.brush.clang.css +3 -0
- data/documentation/public/_components/jquery-syntax/base/jquery.syntax.brush.css.css +14 -0
- data/documentation/public/_components/jquery-syntax/base/jquery.syntax.brush.diff.css +16 -0
- data/documentation/public/_components/jquery-syntax/base/jquery.syntax.brush.html.css +5 -0
- data/documentation/public/_components/jquery-syntax/base/jquery.syntax.brush.ocaml.css +3 -0
- data/documentation/public/_components/jquery-syntax/base/jquery.syntax.brush.protobuf.css +2 -0
- data/documentation/public/_components/jquery-syntax/base/jquery.syntax.brush.python.css +6 -0
- data/documentation/public/_components/jquery-syntax/base/jquery.syntax.brush.ruby.css +2 -0
- data/documentation/public/_components/jquery-syntax/base/jquery.syntax.brush.xml.css +18 -0
- data/documentation/public/_components/jquery-syntax/base/jquery.syntax.core.css +59 -0
- data/documentation/public/_components/jquery-syntax/base/jquery.syntax.editor.css +6 -0
- data/documentation/public/_components/jquery-syntax/base/theme.js +1 -0
- data/documentation/public/_components/jquery-syntax/bright/jquery.syntax.core.css +27 -0
- data/documentation/public/_components/jquery-syntax/bright/theme.js +1 -0
- data/documentation/public/_components/jquery-syntax/jquery.syntax.brush.apache.js +41 -0
- data/documentation/public/_components/jquery-syntax/jquery.syntax.brush.applescript.js +57 -0
- data/documentation/public/_components/jquery-syntax/jquery.syntax.brush.assembly.js +37 -0
- data/documentation/public/_components/jquery-syntax/jquery.syntax.brush.bash-script.js +67 -0
- data/documentation/public/_components/jquery-syntax/jquery.syntax.brush.bash.js +33 -0
- data/documentation/public/_components/jquery-syntax/jquery.syntax.brush.basic.js +51 -0
- data/documentation/public/_components/jquery-syntax/jquery.syntax.brush.clang.js +89 -0
- data/documentation/public/_components/jquery-syntax/jquery.syntax.brush.csharp.js +47 -0
- data/documentation/public/_components/jquery-syntax/jquery.syntax.brush.css.js +80 -0
- data/documentation/public/_components/jquery-syntax/jquery.syntax.brush.diff.js +24 -0
- data/documentation/public/_components/jquery-syntax/jquery.syntax.brush.go.js +47 -0
- data/documentation/public/_components/jquery-syntax/jquery.syntax.brush.haskell.js +45 -0
- data/documentation/public/_components/jquery-syntax/jquery.syntax.brush.html.js +66 -0
- data/documentation/public/_components/jquery-syntax/jquery.syntax.brush.io.js +45 -0
- data/documentation/public/_components/jquery-syntax/jquery.syntax.brush.java.js +45 -0
- data/documentation/public/_components/jquery-syntax/jquery.syntax.brush.javascript.js +40 -0
- data/documentation/public/_components/jquery-syntax/jquery.syntax.brush.kai.js +29 -0
- data/documentation/public/_components/jquery-syntax/jquery.syntax.brush.lisp.js +34 -0
- data/documentation/public/_components/jquery-syntax/jquery.syntax.brush.lua.js +44 -0
- data/documentation/public/_components/jquery-syntax/jquery.syntax.brush.nginx.js +31 -0
- data/documentation/public/_components/jquery-syntax/jquery.syntax.brush.ocaml.js +73 -0
- data/documentation/public/_components/jquery-syntax/jquery.syntax.brush.ooc.js +46 -0
- data/documentation/public/_components/jquery-syntax/jquery.syntax.brush.pascal.js +51 -0
- data/documentation/public/_components/jquery-syntax/jquery.syntax.brush.perl5.js +52 -0
- data/documentation/public/_components/jquery-syntax/jquery.syntax.brush.php-script.js +48 -0
- data/documentation/public/_components/jquery-syntax/jquery.syntax.brush.php.js +15 -0
- data/documentation/public/_components/jquery-syntax/jquery.syntax.brush.plain.js +10 -0
- data/documentation/public/_components/jquery-syntax/jquery.syntax.brush.protobuf.js +43 -0
- data/documentation/public/_components/jquery-syntax/jquery.syntax.brush.python.js +44 -0
- data/documentation/public/_components/jquery-syntax/jquery.syntax.brush.ruby.js +77 -0
- data/documentation/public/_components/jquery-syntax/jquery.syntax.brush.scala.js +44 -0
- data/documentation/public/_components/jquery-syntax/jquery.syntax.brush.smalltalk.js +29 -0
- data/documentation/public/_components/jquery-syntax/jquery.syntax.brush.sql.js +31 -0
- data/documentation/public/_components/jquery-syntax/jquery.syntax.brush.super-collider.js +57 -0
- data/documentation/public/_components/jquery-syntax/jquery.syntax.brush.swift.js +55 -0
- data/documentation/public/_components/jquery-syntax/jquery.syntax.brush.trenni.js +35 -0
- data/documentation/public/_components/jquery-syntax/jquery.syntax.brush.xml.js +50 -0
- data/documentation/public/_components/jquery-syntax/jquery.syntax.brush.yaml.js +29 -0
- data/documentation/public/_components/jquery-syntax/jquery.syntax.cache.js +65 -0
- data/documentation/public/_components/jquery-syntax/jquery.syntax.core.js +1098 -0
- data/documentation/public/_components/jquery-syntax/jquery.syntax.editor.js +291 -0
- data/documentation/public/_components/jquery-syntax/jquery.syntax.js +258 -0
- data/documentation/public/_components/jquery-syntax/jquery.syntax.min.js +13 -0
- data/documentation/public/_components/jquery-syntax/paper/jquery.syntax.core.css +31 -0
- data/documentation/public/_components/jquery-syntax/paper/theme.js +1 -0
- data/documentation/public/_static +1 -0
- data/documentation/tasks +1 -0
- data/lib/utopia/command.rb +1 -1
- data/lib/utopia/controller/actions.rb +1 -2
- data/lib/utopia/controller/respond.rb +1 -1
- data/lib/utopia/version.rb +1 -1
- data/setup/site/.bowerrc +2 -2
- data/setup/site/config.ru +1 -1
- data/setup/site/public/_static/site.css +16 -1
- data/setup/site/tasks/bower.rake +48 -0
- metadata +114 -5
- data/documentation/public +0 -1
- data/documentation/tasks/test.rake +0 -10
- data/documentation/tasks/utopia.rake +0 -38
@@ -0,0 +1,55 @@
|
|
1
|
+
// brush: "swift" aliases: []
|
2
|
+
|
3
|
+
// This file is part of the "jQuery.Syntax" project, and is distributed under the MIT License.
|
4
|
+
// Copyright (c) 2016 Samuel G. D. Williams. <http://www.oriontransfer.co.nz>
|
5
|
+
// See <jquery.syntax.js> for licensing details.
|
6
|
+
|
7
|
+
Syntax.register('swift', function(brush) {
|
8
|
+
var keywords = [
|
9
|
+
"associatedtype", "class", "deinit", "enum", "extension", "fileprivate", "func", "import", "init", "inout", "internal", "let", "operator", "private", "protocol", "static", "struct", "subscript", "typealias", "var", "break", "case", "continue", "default", "defer", "do", "else", "fallthrough", "for", "guard", "if", "in", "repeat", "return", "switch", "where", "while", "as", "catch", "is", "rethrows", "throw", "throws", "try", "_", "#available", "#colorLiteral", "#column", "#else", "#elseif", "#endif", "#file", "#fileLiteral", "#function", "#if", "#imageLiteral", "#line", "#selector", "#sourceLocation", "associativity", "convenience", "dynamic", "didSet", "final", "get", "infix", "indirect", "lazy", "left", "mutating", "none", "nonmutating", "optional", "override", "postfix", "precedence", "prefix", "Protocol", "required", "right", "set", "Type", "unowned", "weak", "willSet"];
|
10
|
+
|
11
|
+
var operators = ["+", "*", "/", "-", "&", "|", "~", "!", "%", "<", "=", ">",
|
12
|
+
"(", ")", "{", "}", "[", "]", ".", ",", ":", ";", "=", "@", "#", "->", "`", "?", "!"];
|
13
|
+
|
14
|
+
var values = ["self", "super", "true", "false", "nil"];
|
15
|
+
|
16
|
+
var access = ["fileprivate", "open", "private", "public"];
|
17
|
+
|
18
|
+
brush.push(access, {klass: 'access'});
|
19
|
+
brush.push(values, {klass: 'constant'});
|
20
|
+
|
21
|
+
brush.push({
|
22
|
+
pattern: /`[^`]+`/g,
|
23
|
+
klass: 'identifier'
|
24
|
+
});
|
25
|
+
|
26
|
+
brush.push({
|
27
|
+
pattern: /\\\(([^)]*)\)/g,
|
28
|
+
matches: Syntax.extractMatches({
|
29
|
+
brush: 'swift',
|
30
|
+
only: ['string']
|
31
|
+
})
|
32
|
+
});
|
33
|
+
|
34
|
+
brush.push(Syntax.lib.camelCaseType);
|
35
|
+
brush.push(keywords, {klass: 'keyword'});
|
36
|
+
brush.push(operators, {klass: 'operator'});
|
37
|
+
|
38
|
+
// Comments
|
39
|
+
brush.push(Syntax.lib.cStyleComment);
|
40
|
+
brush.push(Syntax.lib.cppStyleComment);
|
41
|
+
brush.push(Syntax.lib.webLink);
|
42
|
+
|
43
|
+
// Strings
|
44
|
+
brush.push(Syntax.lib.singleQuotedString);
|
45
|
+
brush.push(Syntax.lib.doubleQuotedString);
|
46
|
+
brush.push(Syntax.lib.stringEscape);
|
47
|
+
|
48
|
+
// Numbers
|
49
|
+
brush.push(Syntax.lib.decimalNumber);
|
50
|
+
brush.push(Syntax.lib.hexNumber);
|
51
|
+
|
52
|
+
// Functions
|
53
|
+
brush.push(Syntax.lib.cStyleFunction);
|
54
|
+
});
|
55
|
+
|
@@ -0,0 +1,35 @@
|
|
1
|
+
// brush: "html" aliases: []
|
2
|
+
|
3
|
+
// This file is part of the "jQuery.Syntax" project, and is distributed under the MIT License.
|
4
|
+
// Copyright (c) 2011 Samuel G. D. Williams. <http://www.oriontransfer.co.nz>
|
5
|
+
// See <jquery.syntax.js> for licensing details.
|
6
|
+
|
7
|
+
Syntax.brushes.dependency('trenni', 'xml');
|
8
|
+
Syntax.brushes.dependency('trenni', 'ruby');
|
9
|
+
|
10
|
+
Syntax.register('trenni', function(brush) {
|
11
|
+
brush.push({
|
12
|
+
pattern: /((<\?r)([\s\S]*?)(\?>))/gm,
|
13
|
+
matches: Syntax.extractMatches(
|
14
|
+
{klass: 'ruby-tag', allow: ['keyword', 'ruby']},
|
15
|
+
{klass: 'keyword'},
|
16
|
+
{brush: 'ruby'},
|
17
|
+
{klass: 'keyword'}
|
18
|
+
)
|
19
|
+
});
|
20
|
+
|
21
|
+
brush.push({
|
22
|
+
pattern: /((#{)([\s\S]*?)(}))/gm,
|
23
|
+
matches: Syntax.extractMatches(
|
24
|
+
{klass: 'ruby-tag', allow: ['keyword', 'ruby']},
|
25
|
+
{klass: 'keyword'},
|
26
|
+
{brush: 'ruby'},
|
27
|
+
{klass: 'keyword'}
|
28
|
+
)
|
29
|
+
});
|
30
|
+
|
31
|
+
// The position of this statement is important - it determines at what point the rules of the parent are processed.
|
32
|
+
// In this case, the rules for xml are processed after the rules for html.
|
33
|
+
brush.derives('xml');
|
34
|
+
});
|
35
|
+
|
@@ -0,0 +1,50 @@
|
|
1
|
+
// brush: "xml" aliases: []
|
2
|
+
|
3
|
+
// This file is part of the "jQuery.Syntax" project, and is distributed under the MIT License.
|
4
|
+
// Copyright (c) 2011 Samuel G. D. Williams. <http://www.oriontransfer.co.nz>
|
5
|
+
// See <jquery.syntax.js> for licensing details.
|
6
|
+
|
7
|
+
Syntax.lib.xmlEntity = {pattern: /&\w+;/g, klass: 'entity'};
|
8
|
+
Syntax.lib.xmlPercentEscape = {pattern: /(%[0-9a-f]{2})/gi, klass: 'percent-escape', only: ['string']};
|
9
|
+
|
10
|
+
Syntax.register('xml-tag', function(brush) {
|
11
|
+
brush.push({
|
12
|
+
pattern: /<\/?((?:[^:\s>]+:)?)([^\s>]+)(\s[^>]*)?\/?>/g,
|
13
|
+
matches: Syntax.extractMatches({klass: 'namespace'}, {klass: 'tag-name'})
|
14
|
+
});
|
15
|
+
|
16
|
+
brush.push({
|
17
|
+
pattern: /([^=\s]+)=(".*?"|'.*?'|[^\s>]+)/g,
|
18
|
+
matches: Syntax.extractMatches({klass: 'attribute', only: ['tag']}, {klass: 'string', only: ['tag']})
|
19
|
+
});
|
20
|
+
|
21
|
+
brush.push(Syntax.lib.xmlEntity);
|
22
|
+
brush.push(Syntax.lib.xmlPercentEscape);
|
23
|
+
|
24
|
+
brush.push(Syntax.lib.singleQuotedString);
|
25
|
+
brush.push(Syntax.lib.doubleQuotedString);
|
26
|
+
});
|
27
|
+
|
28
|
+
Syntax.register('xml', function(brush) {
|
29
|
+
brush.push({
|
30
|
+
pattern: /(<!(\[CDATA\[)([\s\S]*?)(\]\])>)/gm,
|
31
|
+
matches: Syntax.extractMatches(
|
32
|
+
{klass: 'cdata', allow: ['cdata-content', 'cdata-tag']},
|
33
|
+
{klass: 'cdata-tag'},
|
34
|
+
{klass: 'cdata-content'},
|
35
|
+
{klass: 'cdata-tag'}
|
36
|
+
)
|
37
|
+
});
|
38
|
+
|
39
|
+
brush.push(Syntax.lib.xmlComment);
|
40
|
+
|
41
|
+
brush.push({
|
42
|
+
pattern: /<[^>\-\s]([^>'"!\/;\?@\[\]^`\{\}\|]|"[^"]*"|'[^']')*[\/?]?>/g,
|
43
|
+
brush: 'xml-tag'
|
44
|
+
});
|
45
|
+
|
46
|
+
brush.push(Syntax.lib.xmlEntity);
|
47
|
+
brush.push(Syntax.lib.xmlPercentEscape);
|
48
|
+
|
49
|
+
brush.push(Syntax.lib.webLink);
|
50
|
+
});
|
@@ -0,0 +1,29 @@
|
|
1
|
+
// brush: "yaml" aliases: []
|
2
|
+
|
3
|
+
// This file is part of the "jQuery.Syntax" project, and is distributed under the MIT License.
|
4
|
+
// Copyright (c) 2011 Samuel G. D. Williams. <http://www.oriontransfer.co.nz>
|
5
|
+
// See <jquery.syntax.js> for licensing details.
|
6
|
+
|
7
|
+
Syntax.register('yaml', function(brush) {
|
8
|
+
brush.push({
|
9
|
+
pattern: /^\s*#.*$/gm,
|
10
|
+
klass: 'comment',
|
11
|
+
allow: ['href']
|
12
|
+
});
|
13
|
+
|
14
|
+
brush.push(Syntax.lib.singleQuotedString);
|
15
|
+
brush.push(Syntax.lib.doubleQuotedString);
|
16
|
+
|
17
|
+
brush.push({
|
18
|
+
pattern: /(&|\*)[a-z0-9]+/gi,
|
19
|
+
klass: 'constant'
|
20
|
+
});
|
21
|
+
|
22
|
+
brush.push({
|
23
|
+
pattern: /(.*?):/gi,
|
24
|
+
matches: Syntax.extractMatches({klass: 'keyword'})
|
25
|
+
});
|
26
|
+
|
27
|
+
brush.push(Syntax.lib.webLink);
|
28
|
+
});
|
29
|
+
|
@@ -0,0 +1,65 @@
|
|
1
|
+
// This file is automatically generated. Any changes may be lost.
|
2
|
+
// The following declarations describes all resources that might be loaded dynamically.
|
3
|
+
|
4
|
+
// Brush Aliases
|
5
|
+
Syntax.alias("apache", []);
|
6
|
+
Syntax.alias("applescript", []);
|
7
|
+
Syntax.alias("assembly", ["asm"]);
|
8
|
+
Syntax.alias("bash-script", []);
|
9
|
+
Syntax.alias("bash", []);
|
10
|
+
Syntax.alias("basic", ['vb']);
|
11
|
+
Syntax.alias("clang", ["cpp", "c++", "c", "objective-c"]);
|
12
|
+
Syntax.alias("csharp", ["c-sharp", "c#"]);
|
13
|
+
Syntax.alias("css", []);
|
14
|
+
Syntax.alias("diff", ["patch"]);
|
15
|
+
Syntax.alias("go", []);
|
16
|
+
Syntax.alias("haskell", []);
|
17
|
+
Syntax.alias("html", []);
|
18
|
+
Syntax.alias("io", []);
|
19
|
+
Syntax.alias("java", []);
|
20
|
+
Syntax.alias("javascript", ["js", "actionscript"]);
|
21
|
+
Syntax.alias("kai", []);
|
22
|
+
Syntax.alias("lisp", ['scheme', 'clojure']);
|
23
|
+
Syntax.alias("lua", []);
|
24
|
+
Syntax.alias("nginx", []);
|
25
|
+
Syntax.alias("ocaml", ["ml", "sml", "fsharp"]);
|
26
|
+
Syntax.alias("ooc", []);
|
27
|
+
Syntax.alias("pascal", ["delphi"]);
|
28
|
+
Syntax.alias("perl5", []);
|
29
|
+
Syntax.alias("php-script", []);
|
30
|
+
Syntax.alias("php", []);
|
31
|
+
Syntax.alias("plain", ["text"]);
|
32
|
+
Syntax.alias("protobuf", []);
|
33
|
+
Syntax.alias("python", []);
|
34
|
+
Syntax.alias("ruby", []);
|
35
|
+
Syntax.alias("scala", []);
|
36
|
+
Syntax.alias("smalltalk", []);
|
37
|
+
Syntax.alias("sql", []);
|
38
|
+
Syntax.alias("super-collider", ["sc"]);
|
39
|
+
Syntax.alias("swift", []);
|
40
|
+
Syntax.alias("html", []);
|
41
|
+
Syntax.alias("xml", []);
|
42
|
+
Syntax.alias("yaml", []);
|
43
|
+
|
44
|
+
// CSS Extensions
|
45
|
+
Syntax.styles["jquery.syntax.brush.apache"] = ["base/jquery.syntax.brush.apache.css"];
|
46
|
+
Syntax.styles["jquery.syntax.brush.applescript"] = ["base/jquery.syntax.brush.applescript.css"];
|
47
|
+
Syntax.styles["jquery.syntax.brush.assembly"] = ["base/jquery.syntax.brush.assembly.css"];
|
48
|
+
Syntax.styles["jquery.syntax.brush.bash-script"] = ["base/jquery.syntax.brush.bash-script.css"];
|
49
|
+
Syntax.styles["jquery.syntax.brush.bash"] = ["base/jquery.syntax.brush.bash.css"];
|
50
|
+
Syntax.styles["jquery.syntax.brush.clang"] = ["base/jquery.syntax.brush.clang.css"];
|
51
|
+
Syntax.styles["jquery.syntax.brush.css"] = ["base/jquery.syntax.brush.css.css"];
|
52
|
+
Syntax.styles["jquery.syntax.brush.diff"] = ["base/jquery.syntax.brush.diff.css"];
|
53
|
+
Syntax.styles["jquery.syntax.brush.html"] = ["base/jquery.syntax.brush.html.css"];
|
54
|
+
Syntax.styles["jquery.syntax.brush.ocaml"] = ["base/jquery.syntax.brush.ocaml.css"];
|
55
|
+
Syntax.styles["jquery.syntax.brush.protobuf"] = ["base/jquery.syntax.brush.protobuf.css"];
|
56
|
+
Syntax.styles["jquery.syntax.brush.python"] = ["base/jquery.syntax.brush.python.css"];
|
57
|
+
Syntax.styles["jquery.syntax.brush.ruby"] = ["base/jquery.syntax.brush.ruby.css"];
|
58
|
+
Syntax.styles["jquery.syntax.brush.xml"] = ["base/jquery.syntax.brush.xml.css"];
|
59
|
+
Syntax.styles["jquery.syntax.core"] = ["base/jquery.syntax.core.css", "bright/jquery.syntax.core.css", "paper/jquery.syntax.core.css"];
|
60
|
+
Syntax.styles["jquery.syntax.editor"] = ["base/jquery.syntax.editor.css"];
|
61
|
+
|
62
|
+
// Theme Configuration
|
63
|
+
Syntax.themes["base"] = []
|
64
|
+
Syntax.themes["bright"] = ["base"]
|
65
|
+
Syntax.themes["paper"] = ["base"]
|