Added support for class selectors and class attribute selectors on XML documents. Fixes jQuery bug #4167.

This commit is contained in:
John Resig 2009-02-16 18:23:59 +00:00
parent 8533da939d
commit 048fc4555f
5 changed files with 22 additions and 12 deletions

View file

@ -1,3 +1,3 @@
foobar = "bar";
var foobar = "bar";
jQuery('#ap').html('bar');
ok( true, "test.js executed");

View file

@ -1,5 +1,5 @@
<script type="text/javascript">
testFoo = "foo";
var testFoo = "foo";
jQuery('#foo').html('foo');
ok( true, "test2.html executed" );
</script>

View file

@ -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 />