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 9029dc02a234ad9699513f81acd1423f9c2c4e30
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core.js
@@ -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.
You can’t perform that action at this time.