Skip to content
Permalink
Browse files
Update CommonJS module registration to check to see if define is a fu…
…nction instead of just not undefined.
  • Loading branch information
csnover committed Dec 30, 2010
1 parent dfa5707 commit 9029dc0
Showing 1 changed file with 1 addition and 1 deletion.
@@ -887,7 +887,7 @@ function doScrollCheck() {
}

// Expose jQuery as an Asynchronous Module
if ( typeof define !== "undefined" ) {
if ( typeof define === "function" ) {
define( "jquery", [], function () { return jQuery; } );
}

0 comments on commit 9029dc0

Please sign in to comment.