From 920238d4851bc9b1ee22f6ebdffde9ed55cb1e91 Mon Sep 17 00:00:00 2001 From: John Resig <jeresig@gmail.com> Date: Thu, 22 Oct 2009 21:39:41 -0400 Subject: [PATCH] Pull in QUnit using a submodule. In order to build jQuery (and run the tests) you'll need to do 'git submodule init' and 'git submodule update' after checkout. --- .gitmodules | 3 +++ test/index.html | 4 ++-- test/qunit | 1 + 3 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 .gitmodules create mode 160000 test/qunit diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..50fc199 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "test/qunit"] + path = test/qunit + url = git://github.com/jquery/qunit.git diff --git a/test/index.html b/test/index.html index adf1762..5c18f4f 100644 --- a/test/index.html +++ b/test/index.html @@ -3,12 +3,12 @@ <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>jQuery Test Suite</title> - <link rel="Stylesheet" media="screen" href="qunit/qunit.css" /> + <link rel="Stylesheet" media="screen" href="qunit/qunit/qunit.css" /> <link rel="Stylesheet" media="screen" href="data/testsuite.css" /> <!-- Includes --> <script type="text/javascript" src="data/testinit.js"></script> <script type="text/javascript" src="../dist/jquery.js"></script> - <script type="text/javascript" src="qunit/qunit.js"></script> + <script type="text/javascript" src="qunit/qunit/qunit.js"></script> <script type="text/javascript" src="data/testrunner.js"></script> <script type="text/javascript" src="unit/core.js"></script> <script type="text/javascript" src="unit/data.js"></script> diff --git a/test/qunit b/test/qunit new file mode 160000 index 0000000..57d1a28 --- /dev/null +++ b/test/qunit @@ -0,0 +1 @@ +Subproject commit 57d1a28a9f6c44204d46ad651711beb4f8642117 -- 1.7.10.4