From 5ae7f721a0ee89533fcf8485a20326f7c7d21418 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Manuel=20Carrasco=20Mo=C3=B1ino?= Date: Sun, 31 Mar 2013 12:00:51 +0200 Subject: [PATCH] typo --- .../src/main/java/com/google/gwt/query/client/js/JsCache.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/js/JsCache.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/js/JsCache.java index c389ffa6..b9a69905 100644 --- a/gwtquery-core/src/main/java/com/google/gwt/query/client/js/JsCache.java +++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/js/JsCache.java @@ -263,7 +263,7 @@ public class JsCache extends JavaScriptObject { public static native Object gwtBox(JavaScriptObject oneElementArray) /*-{ var r = oneElementArray; if (typeof r == 'object' && r.length == 1) { - var r = r[0]; t = typeof r; + var r = r[0], t = typeof r; if (t == 'boolean') return @java.lang.Boolean::valueOf(Z)(r); if (t == 'number') return @java.lang.Double::valueOf(D)(r); } -- 2.39.5