From a29442a82928633fe063e986fd42127040c93642 Mon Sep 17 00:00:00 2001 From: Manolo Carrasco Date: Sat, 30 Jun 2012 08:23:25 +0000 Subject: [PATCH] This was making the "-XenableClosureCompiler" option fail with the error "java.lang.IllegalStateException: Expected non-empty string. Reference node STRING" --- .../com/google/gwt/query/client/impl/SelectorEngineSizzle.java | 2 +- .../google/gwt/query/client/impl/SelectorEngineSizzleIE.java | 2 +- .../gwt/query/client/impl/research/SelectorEngineSizzleGwt.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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; -- 2.39.5