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:48:53 -0500 |
commit | 5fbf4a4fe32c2d0f9235df5bc5d4a89f61f87330 (patch) | |
tree | 141d9a6f5d1d97ba02738e6cac0207aa1ed03c1c /test/jquery.js | |
parent | 812319093a87594b88a6fdb99d9879e14196b9e1 (diff) | |
download | jquery-5fbf4a4fe32c2d0f9235df5bc5d4a89f61f87330.tar.gz jquery-5fbf4a4fe32c2d0f9235df5bc5d4a89f61f87330.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..bdee83c28 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" ) { |