From: Manolo Carrasco Date: Sat, 30 Jun 2012 08:23:25 +0000 (+0000) Subject: This was making the "-XenableClosureCompiler" option fail with the error "java.lang... X-Git-Tag: release-1.3.2~77 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a29442a82928633fe063e986fd42127040c93642;p=gwtquery.git This was making the "-XenableClosureCompiler" option fail with the error "java.lang.IllegalStateException: Expected non-empty string. Reference node STRING" --- diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/impl/SelectorEngineSizzle.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/impl/SelectorEngineSizzle.java index c267fef8..5d3e7c6c 100644 --- a/gwtquery-core/src/main/java/com/google/gwt/query/client/impl/SelectorEngineSizzle.java +++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/impl/SelectorEngineSizzle.java @@ -391,7 +391,7 @@ var Expr = GQS.selectors = { } } }, - "": function(checkSet, part, isXML){ + "-": function(checkSet, part, isXML){ var doneName = done++, checkFn = dirCheck, nodeCheck; if ( typeof part === "string" && !/\W/.test(part) ) { diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/impl/SelectorEngineSizzleIE.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/impl/SelectorEngineSizzleIE.java index edf17698..a5f27a0d 100644 --- a/gwtquery-core/src/main/java/com/google/gwt/query/client/impl/SelectorEngineSizzleIE.java +++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/impl/SelectorEngineSizzleIE.java @@ -393,7 +393,7 @@ var Expr = IES.selectors = { } } }, - "": function(checkSet, part, isXML){ + "-": function(checkSet, part, isXML){ var doneName = done++, checkFn = dirCheck, nodeCheck; if ( typeof part === "string" && !/\W/.test(part) ) { diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/impl/research/SelectorEngineSizzleGwt.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/impl/research/SelectorEngineSizzleGwt.java index 71438705..6c72f8de 100644 --- a/gwtquery-core/src/main/java/com/google/gwt/query/client/impl/research/SelectorEngineSizzleGwt.java +++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/impl/research/SelectorEngineSizzleGwt.java @@ -114,7 +114,7 @@ public class SelectorEngineSizzleGwt extends SelectorEngineImpl { } } }, - "": function(checkSet, part){ + "-": function(checkSet, part){ var doneName = done++; if ( typeof part === "string" && !/\W/.test(part) ) { checkFn = $wnd.dirNodeCheck;