aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimmy Willison <timmywillisn@gmail.com>2015-10-18 11:02:16 -0400
committerRichard Gibson <richard.gibson@gmail.com>2015-10-25 14:12:53 -0400
commitbd11778168e5d96b513a03015864aa0fc9536acb (patch)
tree81e1deb0343524f8c870c95f03696f9e1742b06d
parent06128a9d7737310697ddeeacda3843bdf4793db3 (diff)
downloadjquery-bd11778168e5d96b513a03015864aa0fc9536acb.tar.gz
jquery-bd11778168e5d96b513a03015864aa0fc9536acb.zip
Deprecated: fix amd mode for the deprecated module
(cherry picked from commit e271f665dd8fb617a5015051e1c9df8cebd6c97b)
-rw-r--r--package.json1
-rw-r--r--src/deprecated.js4
2 files changed, 4 insertions, 1 deletions
diff --git a/package.json b/package.json
index b502386d4..4cc7e59af 100644
--- a/package.json
+++ b/package.json
@@ -71,6 +71,7 @@
"CSS",
"Data",
"Deferred",
+ "Deprecated",
"Dimensions",
"Effects",
"Event",
diff --git a/src/deprecated.js b/src/deprecated.js
index bc75f098a..78885266d 100644
--- a/src/deprecated.js
+++ b/src/deprecated.js
@@ -1,4 +1,6 @@
-define( function() {
+define( [
+ "./core"
+], function( jQuery ) {
jQuery.fn.extend( {