aboutsummaryrefslogtreecommitdiffstats
path: root/src/jquery
diff options
context:
space:
mode:
authorJohn Resig <jeresig@gmail.com>2006-10-15 17:03:08 +0000
committerJohn Resig <jeresig@gmail.com>2006-10-15 17:03:08 +0000
commit2e23d0168e6d820a0264792ef256fb33ec9bb700 (patch)
tree06c1e8cceddf14cc33c80fe4f0bebc90795ac8d3 /src/jquery
parentc9511ef948ec3fd58bfd0af8898ef66abdc80255 (diff)
downloadjquery-2e23d0168e6d820a0264792ef256fb33ec9bb700.tar.gz
jquery-2e23d0168e6d820a0264792ef256fb33ec9bb700.zip
Guess that was important, after all. Helps IE to map the object correctly.
Diffstat (limited to 'src/jquery')
-rw-r--r--src/jquery/jquery.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jquery/jquery.js b/src/jquery/jquery.js
index 6b05a0605..7ac7ee611 100644
--- 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" )