aboutsummaryrefslogtreecommitdiffstats
path: root/gwtquery-core
diff options
context:
space:
mode:
authorjdramaix <julien.dramaix@gmail.com>2013-01-07 11:12:47 +0100
committerjdramaix <julien.dramaix@gmail.com>2013-01-07 11:12:47 +0100
commit906647858b45c7068e434f1faaa708cd29b54771 (patch)
treeacd24196bdbcb7e3c2d77e29c2e788123dba6782 /gwtquery-core
parenta3a4d5b2e555702b525570accc710c6d667b253e (diff)
downloadgwtquery-906647858b45c7068e434f1faaa708cd29b54771.tar.gz
gwtquery-906647858b45c7068e434f1faaa708cd29b54771.zip
javadoc correction : fix issue #5 (github)/ issue 168 (google code)
Diffstat (limited to 'gwtquery-core')
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/GQuery.java4
1 files changed, 2 insertions, 2 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 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<GQuery, LazyGQuery> {
* //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);
* </pre>
*
* In addition to numeric values, each property can take the strings 'show', 'hide', and 'toggle'.
@@ -905,7 +905,7 @@ public class GQuery implements Lazy<GQuery, LazyGQuery> {
* $("#foo").animate("backgroundColor:'red', color:'#ffffff', borderColor:'rgb(129, 0, 70)'");
* </pre>
*
- * @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) {