Lines:
1 to 100 of 237
<?php /************************************************************************************* * jquery.php * -------------- * Author: Rob Loach (http://www.robloach.net) * Copyright: (c) 2009 Rob Loach (http://www.robloach.net) * Release Version: 1.0.9.0 * Date Started: 2009/07/20 * * jQuery 1.3 language file for GeSHi. * * CHANGES * ------- * 2009/07/20 (1.0.8.5) * - First Release * * TODO (updated 2009/07/20) * ------------------------- * ************************************************************************************* * * This file is part of GeSHi. * * GeSHi is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * GeSHi is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with GeSHi; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * ************************************************************************************/ $language_data = array ( 'LANG_NAME' => 'jQuery', 'COMMENT_SINGLE' => array(1 => '//'), 'COMMENT_MULTI' => array('/*' => '*/'), //Regular Expressions 'COMMENT_REGEXP' => array(2 => "/(?<=[\\s^])s\\/(?:\\\\.|(?!\n)[^\\/\\\\])+\\/(?:\\\\.|(?!\n)[^\\/\\\\])+\\/[gimsu]*(?=[\\s$\\.\\;])|(?<=[\\s^(=])m?\\/(?:\\\\.|(?!\n)[^\\/\\\\])+\\/[gimsu]*(?=[\\s$\\.\\,\\;\\)])/iU"), 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, 'QUOTEMARKS' => array("'", '"'), 'ESCAPE_CHAR' => '\\', 'KEYWORDS' => array( 1 => array( 'as', 'break', 'case', 'catch', 'continue', 'decodeURI', 'delete', 'do', 'else', 'encodeURI', 'eval', 'finally', 'for', 'if', 'in', 'is', 'item', 'instanceof', 'return', 'switch', 'this', 'throw', 'try', 'typeof', 'void', 'while', 'write', 'with' ), 2 => array( 'class', 'const', 'default', 'debugger', 'export', 'extends', 'false', 'function', 'import', 'namespace', 'new', 'null', 'package', 'private', 'protected', 'public', 'super', 'true', 'use', 'var' ), 3 => array( // common functions for Window object 'alert', 'back', 'close', 'confirm', 'forward', 'home', 'name', 'navigate', 'onblur', 'onerror', 'onfocus', 'onload', 'onmove', 'onresize', 'onunload', 'open', 'print', 'prompt', 'status', //'blur', 'focus', 'scroll', // Duplicate with kw9 //'stop', //Duplicate with kw10 ), 4 => array( // jQuery Core Functions 'jQuery', 'each', 'size', 'length', 'selector', 'context', 'eq', 'index', 'data', 'removeData', 'queue', 'dequeue', 'noConflict' //'get', //Duplicate with kw11 ), 5 => array( // jQuery Attribute Functions 'attr', 'removeAttr', 'addClass', 'hasClass', 'removeClass', 'toggleClass', 'html', 'text', 'val', ), 6 => array( // jQuery Traversing Functions 'filter', 'not', 'slice', 'add', 'children', 'closest', 'contents', 'find', 'next', 'nextAll', 'parent', 'parents', 'prev', 'prevAll', 'siblings', 'andSelf', 'end', //'is', //Dup with kw1 //'offsetParent', //Duplicate with kw8 //'map', //Duplicate with kw12 ), 7 => array( // jQuery Manipulation Functions 'append', 'appendTo', 'prepend', 'prependTo', 'after', 'before', 'insertAfter', 'insertBefore', 'wrap', 'wrapAll', 'wrapInner', 'replaceWith', 'replaceAll', 'empty', 'remove', 'clone', ), 8 => array( // jQuery CSS Functions 'css', 'offset', 'offsetParent', 'position', 'scrollTop', 'scrollLeft', 'height', 'width', 'innerHeight', 'innerWidth', 'outerHeight', 'outerWidth', ), 9 => array( // jQuery Events FunctionsView on GitHub View on Trac