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:
c9511ef
)
Guess that was important, after all. Helps IE to map the object correctly.
author
John Resig
<jeresig@gmail.com>
Sun, 15 Oct 2006 17:03:08 +0000
(17:03 +0000)
committer
John Resig
<jeresig@gmail.com>
Sun, 15 Oct 2006 17:03:08 +0000
(17:03 +0000)
src/jquery/jquery.js
patch
|
blob
|
history
diff --git
a/src/jquery/jquery.js
b/src/jquery/jquery.js
index
6b05a06
..
7ac7ee6
100644
(file)
--- a/
src/jquery/jquery.js
+++ b/
src/jquery/jquery.js
@@
-28,7
+28,7
@@
window.undefined = window.undefined;
* @name jQuery
* @cat Core
*/
-function jQuery(a,c) {
+var jQuery = function(a,c) {
// Shortcut for document ready (because $(document).each() is silly)
if ( a && typeof a == "function" && jQuery.fn.ready )
@@
-71,7
+71,7
@@
function jQuery(a,c) {
this.each(fn);
return this;
-}
+};
// Map over the $ in case of overwrite
if ( typeof $ != "undefined" )