Check Sizzle or jQuery.

This commit is contained in:
John Resig 2009-12-07 15:33:14 -08:00
parent 813886a4df
commit 872d18c10e

View file

@ -379,7 +379,7 @@ test("pseudo - position", function() {
t( "Check element position", "div#nothiddendiv:first > div:first", ["nothiddendivchild"] );
});
if ( Sizzle.selectors.filters.visibility ) {
if ( (window.Sizzle || jQuery.find).selectors.filters.visibility ) {
test("pseudo - visibility", function() {
expect(11);