aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManolo Carrasco <manolo@apache.org>2012-09-13 12:16:55 +0000
committerManolo Carrasco <manolo@apache.org>2012-09-13 12:16:55 +0000
commit895beac5cf1dbf6c2addc3626d675c99169e1978 (patch)
treef70f4f4044667fb95b2f872e3b2d90309d2f622e
parent2e1615c4f99f99f3b9ed0ab5d5ca19970648637b (diff)
downloadgwtquery-895beac5cf1dbf6c2addc3626d675c99169e1978.tar.gz
gwtquery-895beac5cf1dbf6c2addc3626d675c99169e1978.zip
fixes issue143
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/Function.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/Function.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/Function.java
index d99021d9..f8207a37 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/Function.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/Function.java
@@ -184,6 +184,13 @@ public abstract class Function {
/**
* Override this method for bound callbacks
*/
+ public void f(int i, Object data) {
+ f(i, new Object[]{data});
+ }
+
+ /**
+ * Override this method for bound callbacks
+ */
public void f(int i, Object... data) {
setIndex(i);
setData(data);