diff options
author | Timmy Willison <timmywillisn@gmail.com> | 2013-09-10 18:47:36 -0500 |
---|---|---|
committer | Timmy Willison <timmywillisn@gmail.com> | 2013-09-10 18:47:36 -0500 |
commit | aab9d632797c46728a22eb615bd18cb7f5c9c497 (patch) | |
tree | 506309eb5d9726293c2a9a3245a6aa299ff96c02 /test/jquery.js | |
parent | 73fe17299a840a8a7f3ffffcac15e32a88bd3d66 (diff) | |
download | jquery-aab9d632797c46728a22eb615bd18cb7f5c9c497.tar.gz jquery-aab9d632797c46728a22eb615bd18cb7f5c9c497.zip |
Map Sizzle to a path with config to allow users to put Sizzle wherever they want
Diffstat (limited to 'test/jquery.js')
-rw-r--r-- | test/jquery.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/test/jquery.js b/test/jquery.js index fd0be6759..395258579 100644 --- a/test/jquery.js +++ b/test/jquery.js @@ -28,7 +28,12 @@ // If QUnit is on window, this is the main window // This detection allows AMD tests to be run in an iframe if ( QUnit.urlParams.amd && window.QUnit ) { - require.config({ baseUrl: path }); + require.config({ + baseUrl: path, + paths: { + sizzle: path + 'bower_components/sizzle/dist/sizzle' + } + }); src = "src/jquery"; // Include tests if specified if ( typeof loadTests !== "undefined" ) { |