Brought back the compareDocumentPosition code. While it is redundant in Firefox it...
authorJohn Resig <jeresig@gmail.com>
Tue, 17 Feb 2009 17:43:05 +0000 (17:43 +0000)
committerJohn Resig <jeresig@gmail.com>
Tue, 17 Feb 2009 17:43:05 +0000 (17:43 +0000)
commit4b7e1c906f497784329622d82da08c8646cae7e6
treeb68d56d47b84639831e747654d3dd91c0fd365ab
parent8d9aa015c18e85f1f0aee1159e7928183483a5fd
Brought back the compareDocumentPosition code. While it is redundant in Firefox it's much faster than using indexOf.
src/selector.js
test/unit/selector.js