From 906647858b45c7068e434f1faaa708cd29b54771 Mon Sep 17 00:00:00 2001 From: jdramaix Date: Mon, 7 Jan 2013 11:12:47 +0100 Subject: javadoc correction : fix issue #5 (github)/ issue 168 (google code) --- gwtquery-core/src/main/java/com/google/gwt/query/client/GQuery.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gwtquery-core') 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 f24f0672..04cff6a4 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 @@ -872,7 +872,7 @@ public class GQuery implements Lazy { * //move the element from its original position to left:500px for 500ms * $("#foo").animate("left:'500'"); * // Change the width attribute of a table - * $("table").animate("$width:'500'"), 400, Easing.LINEAR); + * $("table").animate("width:'500'", 400, Easing.LINEAR); * * * In addition to numeric values, each property can take the strings 'show', 'hide', and 'toggle'. @@ -905,7 +905,7 @@ public class GQuery implements Lazy { * $("#foo").animate("backgroundColor:'red', color:'#ffffff', borderColor:'rgb(129, 0, 70)'"); * * - * @param prop the property to animate : "cssName:'value'" + * @param stringOrProperties the property to animate : "cssName:'value'" * @param funcs an array of {@link Function} called once the animation is complete */ public GQuery animate(Object stringOrProperties, Function... funcs) { -- cgit v1.2.3