git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed bug #147, required some (ugly) modifications: changed function jQuery(...)...
[jquery.git]
/
src
/
jquery
/
jquery.js
diff --git
a/src/jquery/jquery.js
b/src/jquery/jquery.js
index
b094acf
..
9b5bf8d
100644
(file)
--- a/
src/jquery/jquery.js
+++ b/
src/jquery/jquery.js
@@
-28,7
+28,7
@@
window.undefined = window.undefined;
* @name jQuery
* @cat Core
*/
* @name jQuery
* @cat Core
*/
-function jQuery(a,c) {
+jQuery = function(a,c) {
// Shortcut for document ready (because $(document).each() is silly)
if ( a && a.constructor == Function && jQuery.fn.ready )
// Shortcut for document ready (because $(document).each() is silly)
if ( a && a.constructor == Function && jQuery.fn.ready )
@@
-67,7
+67,7
@@
function jQuery(a,c) {
// If so, execute it in context
if ( fn && fn.constructor == Function )
this.each(fn);
// If so, execute it in context
if ( fn && fn.constructor == Function )
this.each(fn);
-}
+};
// Map over the $ in case of overwrite
if ( typeof $ != "undefined" )
// Map over the $ in case of overwrite
if ( typeof $ != "undefined" )