aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManuel Carrasco Moñino <manuel.carrasco.m@gmail.com>2014-01-19 22:32:10 +0000
committerManuel Carrasco Moñino <manuel.carrasco.m@gmail.com>2014-01-19 22:32:10 +0000
commit7d9feb50039b44a89b37642137944e9add8713da (patch)
treeb24b45b057cc3624ac781b6b6922904d513fa206
parent8cb8d24e5a4f50aa9a26f9708deef1d380b11ee0 (diff)
downloadgwtquery-7d9feb50039b44a89b37642137944e9add8713da.tar.gz
gwtquery-7d9feb50039b44a89b37642137944e9add8713da.zip
fix tests
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/ajax/Ajax.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/ajax/Ajax.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/ajax/Ajax.java
index 70a9b1a8..928f667f 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/ajax/Ajax.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/ajax/Ajax.java
@@ -292,11 +292,11 @@ public class Ajax extends GQuery {
}
public static Promise getJSONP(String url) {
- return getJSONP(url, null, null);
+ return getJSONP(url, null);
}
public static Promise getJSONP(String url, Binder data) {
- return getJSONP(url, data, null);
+ return getJSONP(url, (Binder)data, null);
}
public static Promise getJSONP(String url, Binder data, Function onSuccess) {