Skip to content
Permalink
Browse files
Calling jQuery() with apply would break things (namely in the SlickSp…
…eed test suite).
  • Loading branch information
jeresig committed Jun 29, 2007
1 parent 28c9c6a commit 7088b50
Showing 1 changed file with 1 addition and 1 deletion.
@@ -24,7 +24,7 @@ window.undefined = window.undefined;
*/
var jQuery = function(a,c) {
// If the context is global, return a new object
if ( window == this )
if ( window == this || !this.init )
return new jQuery(a,c);

return this.init(a,c);

0 comments on commit 7088b50

Please sign in to comment.