ded/qwery — pull request #68 by rvagg (2012-01-14 01:10:24+00:00)
Title: proposing a configure() method

As an alternative to directly setting `nonStandardEngine`, a `configure()` method that takes an options object that could be extended in the future (maybe..). NWMatcher uses a `configure()` so it seems like a good idea to standardise that; although it uses a `USE_QSAPI` key which I'm not so fond of so I've gone with `NATIVE_QSA`.

The `select()` method is set at configure time so there's no additional function layer to go through and read the boolean.

Updated the docs for this and remved reference to using the pseudos by disabling qSA support, as I said previously this shouldn't be necessary because of the `try{}catch{}` around qSA calls.

Also, I've adjusted the tests so that everything is run twice, once with qSA and again without qSA, should give really nice coverage of native and non-native in modern browsers. The native-qSA path needs testing cause there is still work done on the way there that can go wrong.

What think you?