diff options
author | John Resig <jeresig@gmail.com> | 2009-02-16 18:23:59 +0000 |
---|---|---|
committer | John Resig <jeresig@gmail.com> | 2009-02-16 18:23:59 +0000 |
commit | 048fc4555f8a794239a985c63cff3f76d20d6c61 (patch) | |
tree | 25066a009b29c9c13f48f31ee2c65435d1e3c60c /test/data | |
parent | 8533da939d933561aa6c516db4e544dba076a988 (diff) | |
download | jquery-048fc4555f8a794239a985c63cff3f76d20d6c61.tar.gz jquery-048fc4555f8a794239a985c63cff3f76d20d6c61.zip |
Added support for class selectors and class attribute selectors on XML documents. Fixes jQuery bug #4167.
Diffstat (limited to 'test/data')
-rw-r--r-- | test/data/test.js | 2 | ||||
-rw-r--r-- | test/data/test2.html | 2 | ||||
-rw-r--r-- | test/data/with_fries.xml | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/test/data/test.js b/test/data/test.js index 403d0d45d..a41cb232b 100644 --- a/test/data/test.js +++ b/test/data/test.js @@ -1,3 +1,3 @@ -foobar = "bar";
+var foobar = "bar";
jQuery('#ap').html('bar');
ok( true, "test.js executed");
diff --git a/test/data/test2.html b/test/data/test2.html index dec2b5d9f..1df6151a0 100644 --- a/test/data/test2.html +++ b/test/data/test2.html @@ -1,5 +1,5 @@ <script type="text/javascript"> -testFoo = "foo"; +var testFoo = "foo"; jQuery('#foo').html('foo'); ok( true, "test2.html executed" ); </script> diff --git a/test/data/with_fries.xml b/test/data/with_fries.xml index 88e0e49d5..42f425706 100644 --- a/test/data/with_fries.xml +++ b/test/data/with_fries.xml @@ -6,7 +6,7 @@ <jsconf xmlns="http://www.example.com/ns1"> <response xmlns:ab="http://www.example.com/ns2"> <meta> - <component id="seite1"> + <component id="seite1" class="component"> <properties xmlns:cd="http://www.example.com/ns3"> <property name="prop1"> <thing /> |