From 895beac5cf1dbf6c2addc3626d675c99169e1978 Mon Sep 17 00:00:00 2001 From: Manolo Carrasco Date: Thu, 13 Sep 2012 12:16:55 +0000 Subject: [PATCH] fixes issue143 --- .../main/java/com/google/gwt/query/client/Function.java | 7 +++++++ 1 file changed, 7 insertions(+) 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 @@ -181,6 +181,13 @@ public abstract class Function { fe(data); } + /** + * Override this method for bound callbacks + */ + public void f(int i, Object data) { + f(i, new Object[]{data}); + } + /** * Override this method for bound callbacks */ -- 2.39.5