From: Manuel Carrasco MoƱino Date: Sun, 31 Mar 2013 10:00:51 +0000 (+0200) Subject: typo X-Git-Tag: release-1.4.0~56^2~7 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5ae7f721a0ee89533fcf8485a20326f7c7d21418;p=gwtquery.git typo --- 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); }