aboutsummaryrefslogtreecommitdiffstats
path: root/gwtquery-core
diff options
context:
space:
mode:
authorJulien Dramaix <julien.dramaix@gmail.com>2013-01-21 13:53:00 -0800
committerJulien Dramaix <julien.dramaix@gmail.com>2013-01-21 13:53:00 -0800
commit57f7a1662bccfd3f44dd99592f6f249cdde17de2 (patch)
tree5b0c7db5c679a5822b2324364019ebec0c05004f /gwtquery-core
parentf3c350dc31c04029f02a4cdee8b97d00fed472e2 (diff)
parent906647858b45c7068e434f1faaa708cd29b54771 (diff)
downloadgwtquery-57f7a1662bccfd3f44dd99592f6f249cdde17de2.tar.gz
gwtquery-57f7a1662bccfd3f44dd99592f6f249cdde17de2.zip
Merge pull request #6 from gwtquery/jd_issue168
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 11e6eff3..194cb643 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) {