]> source.dussan.org Git - gwtquery.git/commitdiff
correct javadoc
authorJulien Dramaix <julien.dramaix@gmail.com>
Tue, 18 Jan 2011 22:03:34 +0000 (22:03 +0000)
committerJulien Dramaix <julien.dramaix@gmail.com>
Tue, 18 Jan 2011 22:03:34 +0000 (22:03 +0000)
gwtquery-core/src/main/java/com/google/gwt/query/client/GQuery.java

index 480ac8ddb20edc9d6837da3020bd2fbe8d7f7bd8..ceaf29d9c61cd1b88234b5324b1b071dbbc5bd05 100644 (file)
@@ -743,7 +743,7 @@ public class GQuery implements Lazy<GQuery, LazyGQuery> {
   /**\r
    * Access a property on the first matched element. This method makes it easy\r
    * to retrieve a property value from the first matched element. If the element\r
-   * does not have an attribute with such a name, undefined is returned.\r
+   * does not have an attribute with such a name, empty string is returned.\r
    * Attributes include title, alt, src, href, width, style, etc.\r
    */\r
   public String attr(String name) {\r
@@ -1814,7 +1814,7 @@ public class GQuery implements Lazy<GQuery, LazyGQuery> {
         "borderLeftWidth", true);\r
     parentOffset = parentOffset.add(parentOffsetBorderLeft,\r
         parentOffsetBorderTop);\r
-\r
+        \r
     // Subtract the two offsets\r
     return offset.add(-parentOffset.left, -parentOffset.top);\r
   }\r
@@ -2166,8 +2166,7 @@ public class GQuery implements Lazy<GQuery, LazyGQuery> {
   }\r
 \r
   /**\r
-   * Return the number of elements in the matched set. Make visible all mached\r
-   * elements\r
+   * Make all matched elements visible\r
    */\r
   public GQuery show() {\r
     for (Element e : elements()) {\r