Sha256: 8d5bfa5d06a6f2f485955c669c0eea56adb9774902828bd22371cbca06525940
Contents?: true
Size: 778 Bytes
Versions: 1
Compression:
Stored size: 778 Bytes
Contents
// brush: "nginx" 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('nginx', function(brush) { brush.push({ pattern: /((\w+).*?);/g, matches: Syntax.extractMatches( {klass: 'directive', allow: '*'}, {klass: 'function'} ) }); brush.push({ pattern: /(\w+).*?{/g, matches: Syntax.extractMatches( {klass: 'keyword'} ) }); brush.push({pattern: /(\$)[\w]+/g, klass: 'variable'}); brush.push(Syntax.lib.perlStyleComment); brush.push(Syntax.lib.singleQuotedString); brush.push(Syntax.lib.doubleQuotedString); brush.push(Syntax.lib.webLink); });
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
utopia-1.9.3 | documentation/public/_components/jquery-syntax/jquery.syntax.brush.nginx.js |