Moved the init test script off into a separate file.

This commit is contained in:
John Resig 2009-09-29 18:06:16 +00:00
parent 69e6e53555
commit 8df82d2b04
2 changed files with 5 additions and 6 deletions

4
test/data/testinit.js Normal file
View file

@ -0,0 +1,4 @@
var jQuery = this.jQuery || "jQuery", // For testing .noConflict()
$ = this.$ || "$",
originaljQuery = jQuery,
original$ = $;

View file

@ -8,12 +8,7 @@
ol#empty { opacity: 0; filter:Alpha(opacity=0); } /* for testing opacity set in styles in IE */
</style>
<!-- Includes -->
<script type="text/javascript">
var jQuery = this.jQuery || "jQuery", // For testing .noConflict()
$ = this.$ || "$",
originaljQuery = jQuery,
original$ = $;
</script>
<script type="text/javascript" src="data/testinit.js"></script>
<script type="text/javascript" src="../dist/jquery.js"></script>
<script type="text/javascript" src="qunit/testrunner.js"></script>
<script type="text/javascript" src="data/testrunner.js"></script>