aboutsummaryrefslogtreecommitdiffstats
path: root/gwtquery-core
diff options
context:
space:
mode:
authorManolo Carrasco <manolo@apache.org>2010-05-13 08:53:37 +0000
committerManolo Carrasco <manolo@apache.org>2010-05-13 08:53:37 +0000
commit1d1f3a356c2c6ef3956480894823f23f150e1290 (patch)
tree238f0e0153bf7fc5c5dbcb1e087a97f602872766 /gwtquery-core
parentf98437c2e06df0daf7c2c2b765571dffacbe497d (diff)
downloadgwtquery-1d1f3a356c2c6ef3956480894823f23f150e1290.tar.gz
gwtquery-1d1f3a356c2c6ef3956480894823f23f150e1290.zip
Fixes Issue_28
Diffstat (limited to 'gwtquery-core')
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/Query.gwt.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/Query.gwt.xml b/gwtquery-core/src/main/java/com/google/gwt/query/Query.gwt.xml
index 818cc07e..1aee9798 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/Query.gwt.xml
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/Query.gwt.xml
@@ -9,7 +9,7 @@
<![CDATA[
// useful for benchmarking tests when you want to force non-accelerated queries
//if(window.location.href.indexOf("_selector_force_js") != -1) return "js";
- if(document.querySelectorAll && /native/.test(document.querySelectorAll.toString())) {
+ if(document.querySelectorAll && /native/.test(String(document.querySelectorAll))) {
return "native";
}
return "js"