testrunner: Removing every global variable leaked within (and outside) tests. Some were deleted and some saved within the jQuery namespace.

This commit is contained in:
Ariel Flesler 2009-01-09 23:49:18 +00:00
parent ec7baf230d
commit d62875fb01
7 changed files with 108 additions and 125 deletions

View file

@ -1,6 +1,6 @@
html text<br/>
<script type="text/javascript">/* <![CDATA[ */
testFoo = "foo"; jQuery('#foo').html('foo');
jQuery.testFoo = "foo"; jQuery('#foo').html('foo');
ok( true, "test.html executed" );
/* ]]> */</script>
<script src="data/test.js"></script>