diff options
author | John Resig <jeresig@gmail.com> | 2009-12-07 15:33:14 -0800 |
---|---|---|
committer | John Resig <jeresig@gmail.com> | 2009-12-07 15:33:14 -0800 |
commit | 872d18c10e8ad1583b3a40671527355aa930aea7 (patch) | |
tree | 6d9a450801a9e8619caeb24064bba35e69587453 /test | |
parent | 813886a4dff0cf4be62fea51c3ae8be9ef88e12a (diff) | |
download | jquery-872d18c10e8ad1583b3a40671527355aa930aea7.tar.gz jquery-872d18c10e8ad1583b3a40671527355aa930aea7.zip |
Check Sizzle or jQuery.
Diffstat (limited to 'test')
-rw-r--r-- | test/unit/selector.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/selector.js b/test/unit/selector.js index 3e65cdae7..0a5d0bbff 100644 --- a/test/unit/selector.js +++ b/test/unit/selector.js @@ -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); |