git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Check Sizzle or jQuery.
[jquery.git]
/
test
/
unit
/
selector.js
diff --git
a/test/unit/selector.js
b/test/unit/selector.js
index
3e65cda
..
0a5d0bb
100644
(file)
--- 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"] );
});
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);
test("pseudo - visibility", function() {
expect(11);