mirror of
https://github.com/jquery/jquery.git
synced 2025-01-10 18:24:24 +00:00
Guess that was important, after all. Helps IE to map the object correctly.
This commit is contained in:
parent
c9511ef948
commit
2e23d0168e
4
src/jquery/jquery.js
vendored
4
src/jquery/jquery.js
vendored
@ -28,7 +28,7 @@ window.undefined = window.undefined;
|
|||||||
* @name jQuery
|
* @name jQuery
|
||||||
* @cat Core
|
* @cat Core
|
||||||
*/
|
*/
|
||||||
function jQuery(a,c) {
|
var jQuery = function(a,c) {
|
||||||
|
|
||||||
// Shortcut for document ready (because $(document).each() is silly)
|
// Shortcut for document ready (because $(document).each() is silly)
|
||||||
if ( a && typeof a == "function" && jQuery.fn.ready )
|
if ( a && typeof a == "function" && jQuery.fn.ready )
|
||||||
@ -71,7 +71,7 @@ function jQuery(a,c) {
|
|||||||
this.each(fn);
|
this.each(fn);
|
||||||
|
|
||||||
return this;
|
return this;
|
||||||
}
|
};
|
||||||
|
|
||||||
// Map over the $ in case of overwrite
|
// Map over the $ in case of overwrite
|
||||||
if ( typeof $ != "undefined" )
|
if ( typeof $ != "undefined" )
|
||||||
|
Loading…
Reference in New Issue
Block a user