values="native,js"/>\r
<property-provider name="selectorCapability">\r
<![CDATA[\r
- // useful for benchmarking tests when you want to force non-accelerated queries\r
- //if(window.location.href.indexOf("_selector_force_js") != -1) return "js"; \r
- if(document.querySelectorAll && /native/.test(String(document.querySelectorAll))) {\r
- return "native";\r
- }\r
- return "js"\r
- ]]>\r
+ // useful for benchmarking tests when you want to force non-accelerated queries\r
+ if(window.location.href.indexOf("_selector_force_js") != -1) return "js"; \r
+ if(document.querySelectorAll && /native/.test(String(document.querySelectorAll))) return "native";\r
+ return "js";\r
+ ]]>\r
</property-provider>\r
\r
<generate-with class="com.google.gwt.query.rebind.LazyGenerator">\r
* Runtime selector engine implementation for browsers with native
* querySelectorAll support.
*/
-public class SelectorEngineNative extends SelectorEngineCssToXPath {
+public class SelectorEngineNative extends SelectorEngineSizzle {
public static String NATIVE_EXCEPTIONS_REGEXP = ".*(:contains|!=).*";
import com.google.gwt.user.rebind.SourceWriter;\r
\r
/**\r
- * An implementaton of pure-JS compile time selectors. This implementation\r
- * simply defers to the runtime selector engine.\r
+ * An implementation which simply defers to the runtime selector engine.\r
*/\r
public class SelectorGeneratorJS extends SelectorGeneratorBase {\r
\r