aboutsummaryrefslogtreecommitdiffstats
path: root/test/data/test.php
diff options
context:
space:
mode:
authorAriel Flesler <aflesler@gmail.com>2009-01-09 23:49:18 +0000
committerAriel Flesler <aflesler@gmail.com>2009-01-09 23:49:18 +0000
commitd62875fb0181c44f8b34a8e842ae323801637b25 (patch)
treebe2496251094f01c6103cc9bf21af95808cd2383 /test/data/test.php
parentec7baf230d3c246dadf00c94115e6668425b9354 (diff)
downloadjquery-d62875fb0181c44f8b34a8e842ae323801637b25.tar.gz
jquery-d62875fb0181c44f8b34a8e842ae323801637b25.zip
testrunner: Removing every global variable leaked within (and outside) tests. Some were deleted and some saved within the jQuery namespace.
Diffstat (limited to 'test/data/test.php')
-rw-r--r--test/data/test.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/data/test.php b/test/data/test.php
index 3d08f3253..bb392f151 100644
--- a/test/data/test.php
+++ b/test/data/test.php
@@ -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.php executed" );
/* ]]> */</script>
<script src="data/test.js?<?php srand(); echo time() . '' . rand(); ?>"></script>