Sha256: 7f2b5e7535d8069d25a2e4409bfb0d4d5b584966ccbbe65d68e89654ba87277e
Contents?: true
Size: 757 Bytes
Versions: 80
Compression:
Stored size: 757 Bytes
Contents
// brush: "kai" 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('kai', function(brush) { brush.push(['(', ')', '[', ']', '{', '}'], {klass: 'operator'}); brush.push(Syntax.lib.perlStyleComment); brush.push(Syntax.lib.decimalNumber); brush.push(Syntax.lib.webLink); brush.push({ pattern: /\(([^\s\(\)]+)/gi, matches: Syntax.extractMatches({klass: 'function'}) }); brush.push({ pattern: /`[a-z]*/gi, klass: 'constant' }) // Strings brush.push(Syntax.lib.multiLineDoubleQuotedString); brush.push(Syntax.lib.stringEscape); });
Version data entries
80 entries across 49 versions & 2 rubygems