diff options
Diffstat (limited to 'js/jquery.syntax.brush.apache.js')
-rw-r--r-- | js/jquery.syntax.brush.apache.js | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/js/jquery.syntax.brush.apache.js b/js/jquery.syntax.brush.apache.js deleted file mode 100644 index 43bef262..00000000 --- a/js/jquery.syntax.brush.apache.js +++ /dev/null @@ -1,41 +0,0 @@ -// brush: "apache" aliases: [] - -// This file is part of the "jQuery.Syntax" project, and is distributed under the MIT License. -// Copyright (c) 2011 Samuel G. D. Williams. <http://www.oriontransfer.co.nz> -// See <jquery.syntax.js> for licensing details. - -Syntax.register('apache', function(brush) { - brush.push({ - pattern: /(<(\w+).*?>)/gi, - matches: Syntax.extractMatches( - { - klass: 'tag', - allow: ['attribute', 'tag-name', 'string'] - }, - { - klass: 'tag-name', - process: Syntax.lib.webLinkProcess("site:http://httpd.apache.org/docs/trunk/ directive", true) - }) - }); - - brush.push({ - pattern: /(<\/(\w+).*?>)/gi, - matches: Syntax.extractMatches({klass: 'tag', allow: ['tag-name']}, {klass: 'tag-name'}) - }); - - brush.push({ - pattern: /^\s+([A-Z][\w]+)/gm, - matches: Syntax.extractMatches({ - klass: 'function', - allow: ['attribute'], - process: Syntax.lib.webLinkProcess("site:http://httpd.apache.org/docs/trunk/ directive", true) - }) - }); - - brush.push(Syntax.lib.perlStyleComment); - brush.push(Syntax.lib.singleQuotedString); - brush.push(Syntax.lib.doubleQuotedString); - - brush.push(Syntax.lib.webLink); -}); - |