From 559e9b60cb97ab5e86257a89dc0d0a6f234496d1 Mon Sep 17 00:00:00 2001 From: Julien Dramaix Date: Tue, 18 Jan 2011 22:03:34 +0000 Subject: [PATCH] correct javadoc --- .../src/main/java/com/google/gwt/query/client/GQuery.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/GQuery.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/GQuery.java index 480ac8dd..ceaf29d9 100644 --- a/gwtquery-core/src/main/java/com/google/gwt/query/client/GQuery.java +++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/GQuery.java @@ -743,7 +743,7 @@ public class GQuery implements Lazy { /** * Access a property on the first matched element. This method makes it easy * to retrieve a property value from the first matched element. If the element - * does not have an attribute with such a name, undefined is returned. + * does not have an attribute with such a name, empty string is returned. * Attributes include title, alt, src, href, width, style, etc. */ public String attr(String name) { @@ -1814,7 +1814,7 @@ public class GQuery implements Lazy { "borderLeftWidth", true); parentOffset = parentOffset.add(parentOffsetBorderLeft, parentOffsetBorderTop); - + // Subtract the two offsets return offset.add(-parentOffset.left, -parentOffset.top); } @@ -2166,8 +2166,7 @@ public class GQuery implements Lazy { } /** - * Return the number of elements in the matched set. Make visible all mached - * elements + * Make all matched elements visible */ public GQuery show() { for (Element e : elements()) { -- 2.39.5