Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update to define() to match Async Module API.

  • Loading branch information...
commit 9223483c6631c046e09e31a754660c23e9479e01 1 parent d3dd0d5
@jrburke authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/core.js
View
4 src/core.js
@@ -879,8 +879,8 @@ function doScrollCheck() {
}
// Expose jQuery as a CommonJS Asynchronous Module
-if ( typeof require !== "undefined" && require.def ) {
- require.def( [], function () { return jQuery; } );
+if ( typeof define !== "undefined" ) {
+ define( [], function () { return jQuery; } );
}
// Expose jQuery to the global object
Please sign in to comment.
Something went wrong with that request. Please try again.