diff options
author | Manolo Carrasco <manolo@apache.org> | 2012-09-13 12:16:55 +0000 |
---|---|---|
committer | Manolo Carrasco <manolo@apache.org> | 2012-09-13 12:16:55 +0000 |
commit | 895beac5cf1dbf6c2addc3626d675c99169e1978 (patch) | |
tree | f70f4f4044667fb95b2f872e3b2d90309d2f622e | |
parent | 2e1615c4f99f99f3b9ed0ab5d5ca19970648637b (diff) | |
download | gwtquery-895beac5cf1dbf6c2addc3626d675c99169e1978.tar.gz gwtquery-895beac5cf1dbf6c2addc3626d675c99169e1978.zip |
fixes issue143
-rw-r--r-- | gwtquery-core/src/main/java/com/google/gwt/query/client/Function.java | 7 |
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); |