Pull in QUnit using a submodule. In order to build jQuery (and run the tests) you...
authorJohn Resig <jeresig@gmail.com>
Fri, 23 Oct 2009 01:39:41 +0000 (21:39 -0400)
committerJohn Resig <jeresig@gmail.com>
Fri, 23 Oct 2009 01:39:41 +0000 (21:39 -0400)
.gitmodules [new file with mode: 0644]
test/index.html
test/qunit [new submodule]

diff --git a/.gitmodules b/.gitmodules
new file mode 100644 (file)
index 0000000..50fc199
--- /dev/null
@@ -0,0 +1,3 @@
+[submodule "test/qunit"]
+       path = test/qunit
+       url = git://github.com/jquery/qunit.git
index adf1762..5c18f4f 100644 (file)
@@ -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 (submodule)
index 0000000..57d1a28
--- /dev/null
@@ -0,0 +1 @@
+Subproject commit 57d1a28a9f6c44204d46ad651711beb4f8642117