jquery core: declared undefined locally, to speed up references, and allow munging all their names.

This commit is contained in:
Ariel Flesler 2008-05-11 20:59:24 +00:00
parent 6aa4200a8c
commit 1762dc24d6

View file

@ -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 ) {