mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
jquery core: declared undefined locally, to speed up references, and allow munging all their names.
This commit is contained in:
parent
6aa4200a8c
commit
1762dc24d6
@ -24,7 +24,10 @@ var jQuery = window.jQuery = window.$ = function( selector, context ) {
|
||||
var quickExpr = /^[^<]*(<(.|\s)+>)[^>]*$|^#(\w+)$/,
|
||||
|
||||
// Is it a simple selector
|
||||
isSimple = /^.[^:#\[\.]*$/;
|
||||
isSimple = /^.[^:#\[\.]*$/,
|
||||
|
||||
// Will speed up references to undefined, and allows munging its name.
|
||||
undefined;
|
||||
|
||||
jQuery.fn = jQuery.prototype = {
|
||||
init: function( selector, context ) {
|
||||
|
Loading…
Reference in New Issue
Block a user