diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2006-11-09 21:16:03 +0000 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2006-11-09 21:16:03 +0000 |
commit | 03b0a9c654727e4bb551865793548c907687a4ae (patch) | |
tree | 5a36369cad1545d72f17e2c9a0233e6700751e07 /build | |
parent | c0e0119c3d8a745ddaed0428353d892c30ccc1a5 (diff) | |
download | jquery-03b0a9c654727e4bb551865793548c907687a4ae.tar.gz jquery-03b0a9c654727e4bb551865793548c907687a4ae.zip |
Modified test for load(); added fix for trigger, where it modifies data passed to it, which causes ugly side-effects
Diffstat (limited to 'build')
-rw-r--r-- | build/test/data/test.html | 4 | ||||
-rw-r--r-- | build/test/data/test.js | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/build/test/data/test.html b/build/test/data/test.html index cdae2467f..9d5b670bf 100644 --- a/build/test/data/test.html +++ b/build/test/data/test.html @@ -1,4 +1,6 @@ html text<br/> -<script type="text/javascript">foo = "foo";</script> +<script type="text/javascript">/* <![CDATA[ */ +foo = "foo"; $('#foo').html('foo'); +/* ]]> */</script> <script src="data/test.js"></script> blabla
\ No newline at end of file diff --git a/build/test/data/test.js b/build/test/data/test.js index 2764fe107..9294f06b7 100644 --- a/build/test/data/test.js +++ b/build/test/data/test.js @@ -1 +1,2 @@ foobar = "bar";
+$('#ap').html('bar');
|