aboutsummaryrefslogtreecommitdiffstats
path: root/test/data/testinit.js
diff options
context:
space:
mode:
authorTimmy Willison <timmywillisn@gmail.com>2013-08-15 14:15:49 -0400
committerTimmy Willison <timmywillisn@gmail.com>2013-08-15 14:15:49 -0400
commit6318ae6ab90d4b450dfadf32ab95fe52ed6331cb (patch)
tree50b247fed8569e909e380b281e9145bd1458a39e /test/data/testinit.js
parent7627b8b6d9ef6e57dbd20a55b946bd1991c1223e (diff)
downloadjquery-6318ae6ab90d4b450dfadf32ab95fe52ed6331cb.tar.gz
jquery-6318ae6ab90d4b450dfadf32ab95fe52ed6331cb.zip
AMD-ify jQuery sourcegit s! Woo! Fixes #14113, #14163.
Diffstat (limited to 'test/data/testinit.js')
-rw-r--r--test/data/testinit.js11
1 files changed, 1 insertions, 10 deletions
diff --git a/test/data/testinit.js b/test/data/testinit.js
index 0351f0264..30136de36 100644
--- a/test/data/testinit.js
+++ b/test/data/testinit.js
@@ -1,6 +1,6 @@
/*jshint multistr:true, quotmark:false */
-var amdDefined, fireNative,
+var fireNative,
originaljQuery = this.jQuery || "jQuery",
original$ = this.$ || "$",
// see RFC 2606
@@ -14,15 +14,6 @@ this.jQuery = originaljQuery;
this.$ = original$;
/**
- * Set up a mock AMD define function for testing AMD registration.
- */
-function define( name, dependencies, callback ) {
- amdDefined = callback();
-}
-
-define.amd = {};
-
-/**
* Returns an array of elements with the given IDs
* @example q("main", "foo", "bar")
* @result [<div id="main">, <span id="foo">, <input id="bar">]