git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6aa4200
)
jquery core: declared undefined locally, to speed up references, and allow munging...
author
Ariel Flesler
<aflesler@gmail.com>
Sun, 11 May 2008 20:59:24 +0000
(20:59 +0000)
committer
Ariel Flesler
<aflesler@gmail.com>
Sun, 11 May 2008 20:59:24 +0000
(20:59 +0000)
src/core.js
patch
|
blob
|
history
diff --git
a/src/core.js
b/src/core.js
index
a6d4c5f
..
b9a2fed
100644
(file)
--- a/
src/core.js
+++ b/
src/core.js
@@
-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 ) {