Skip to content

Commit 49e6630

Browse files
committed
Update dist.
1 parent a669106 commit 49e6630

File tree

4 files changed

+25
-4
lines changed

4 files changed

+25
-4
lines changed

dist/jquery.syntax.brush.nginx.js

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
// brush: "nginx" 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('nginx', function(brush) {
8+
var keywords = ["server", "location", "http", "if", "break", "return"];
9+
10+
brush.push({pattern: /(\$)[\w]+/g, klass: 'variable'});
11+
12+
brush.push(keywords, {klass: 'keyword'});
13+
14+
brush.push(Syntax.lib.perlStyleComment);
15+
brush.push(Syntax.lib.singleQuotedString);
16+
brush.push(Syntax.lib.doubleQuotedString);
17+
18+
brush.push(Syntax.lib.webLink);
19+
});
20+

dist/jquery.syntax.brush.swift.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// brush: "ruby" aliases: []
1+
// brush: "swift" aliases: []
22

33
// This file is part of the "jQuery.Syntax" project, and is distributed under the MIT License.
44
// Copyright (c) 2016 Samuel G. D. Williams. <http://www.oriontransfer.co.nz>

dist/jquery.syntax.cache.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ Syntax.alias("javascript", ["js", "actionscript"]);
2121
Syntax.alias("kai", []);
2222
Syntax.alias("lisp", ['scheme', 'clojure']);
2323
Syntax.alias("lua", []);
24+
Syntax.alias("nginx", []);
2425
Syntax.alias("ocaml", ["ml", "sml", "fsharp"]);
2526
Syntax.alias("ooc", []);
2627
Syntax.alias("pascal", ["delphi"]);
@@ -35,7 +36,7 @@ Syntax.alias("scala", []);
3536
Syntax.alias("smalltalk", []);
3637
Syntax.alias("sql", []);
3738
Syntax.alias("super-collider", ["sc"]);
38-
Syntax.alias("ruby", []);
39+
Syntax.alias("swift", []);
3940
Syntax.alias("html", []);
4041
Syntax.alias("xml", []);
4142
Syntax.alias("yaml", []);

dist/jquery.syntax.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)