mirror of
https://github.com/jquery/jquery.git
synced 2026-04-20 03:01:22 -04:00
Use grunt and bower packages as local dependencies. Close gh-1433.
This commit is contained in:
@@ -297,8 +297,10 @@ this.loadTests = function() {
|
||||
if ( dep ) {
|
||||
require( [ dep ], loadDep );
|
||||
} else {
|
||||
|
||||
|
||||
// Subproject tests must be last because they replace our test fixture
|
||||
testSubproject( "Sizzle", "../bower_components/sizzle/test/", /^unit\/.*\.js$/, function() {
|
||||
testSubproject( "Sizzle", "../bower_modules/sizzle/test/", /^unit\/.*\.js$/, function() {
|
||||
// Call load to build module filter select element
|
||||
QUnit.load();
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
|
||||
<title>jQuery Test Suite</title>
|
||||
<link rel="Stylesheet" media="screen" href="../bower_components/qunit/qunit/qunit.css" />
|
||||
<link rel="Stylesheet" media="screen" href="../bower_modules/qunit/qunit.css" />
|
||||
<link rel="Stylesheet" media="screen" href="data/testsuite.css" />
|
||||
<!-- Includes -->
|
||||
|
||||
@@ -14,8 +14,8 @@
|
||||
-->
|
||||
<script src="data/jquery-1.9.1.js"></script>
|
||||
|
||||
<script src="../bower_components/qunit/qunit/qunit.js"></script>
|
||||
<script src="../bower_components/requirejs/require.js"></script>
|
||||
<script src="../bower_modules/qunit/qunit.js"></script>
|
||||
<script src="../bower_modules/requirejs/require.js"></script>
|
||||
<!-- See testinit for the list of tests -->
|
||||
<script src="data/testinit.js"></script>
|
||||
|
||||
|
||||
2
test/jquery.js
vendored
2
test/jquery.js
vendored
@@ -19,7 +19,7 @@
|
||||
require.config({
|
||||
baseUrl: path,
|
||||
paths: {
|
||||
sizzle: path + "bower_components/sizzle/dist/sizzle"
|
||||
sizzle: path + "bower_modules/sizzle/dist/sizzle"
|
||||
}
|
||||
});
|
||||
src = "src/jquery";
|
||||
|
||||
Reference in New Issue
Block a user