test runner: the changes are:
[jquery.git] / test / index.html
index 558c0f7..0127c43 100644 (file)
@@ -5,7 +5,12 @@
        <title>jQuery Test Suite</title>
        <link rel="Stylesheet" media="screen" href="data/testsuite.css" />
        <!-- Includes -->
-       <script type="text/javascript">var jQuery = "jQuery", $ = "$"; // For testing .noConflict()</script>
+       <script type="text/javascript">
+               var jQuery = this.jQuery || "jQuery", // For testing .noConflict()
+                       $ = this.$ || "$",
+                       originaljQuery = jQuery,
+                       original$ = $;
+       </script>
        <script type="text/javascript" src="../dist/jquery.js"></script>
        <script type="text/javascript" src="data/testrunner.js"></script>
        <script type="text/javascript" src="unit/core.js"></script>