From aaeb2635d4aa2e9a27958e92f22e6dcd98131861 Mon Sep 17 00:00:00 2001 From: Manolo Carrasco Date: Tue, 6 Sep 2011 06:59:16 +0000 Subject: [PATCH] attr signature changed in GQuery. Adding jsquery.js to the repo so as people could test it from http://gwtquery.googlecode.com/api/jsquery.js --- .../src/main/java/gwtquery/jsquery/JsQuery.gwt.xml | 2 +- .../src/main/java/gwtquery/jsquery/client/JQ.java | 4 ++-- .../main/java/gwtquery/jsquery/public/JsQuery.html | 12 ++++++------ 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/jsquery/src/main/java/gwtquery/jsquery/JsQuery.gwt.xml b/jsquery/src/main/java/gwtquery/jsquery/JsQuery.gwt.xml index efc0d801..6ccb43e2 100644 --- a/jsquery/src/main/java/gwtquery/jsquery/JsQuery.gwt.xml +++ b/jsquery/src/main/java/gwtquery/jsquery/JsQuery.gwt.xml @@ -1,4 +1,4 @@ - + diff --git a/jsquery/src/main/java/gwtquery/jsquery/client/JQ.java b/jsquery/src/main/java/gwtquery/jsquery/client/JQ.java index 8596b1cb..b7a3b0b1 100644 --- a/jsquery/src/main/java/gwtquery/jsquery/client/JQ.java +++ b/jsquery/src/main/java/gwtquery/jsquery/client/JQ.java @@ -111,8 +111,8 @@ public class JQ implements ExportOverlay { public T as(Class plugin) {return null;} // public GQuery attr(Properties properties) {return null;} public String attr(String name) {return null;} - public GQuery attr(String key, Function closure) {return null;} - public GQuery attr(String key, String value) {return null;} +// public GQuery attr(String key, Function closure) {return null;} + public GQuery attr(String key, Object value) {return null;} public GQuery before(GQuery query) {return null;} public GQuery before(Node n) {return null;} public GQuery before(String html) {return null;} diff --git a/jsquery/src/main/java/gwtquery/jsquery/public/JsQuery.html b/jsquery/src/main/java/gwtquery/jsquery/public/JsQuery.html index 2af05004..d8aeeefe 100644 --- a/jsquery/src/main/java/gwtquery/jsquery/public/JsQuery.html +++ b/jsquery/src/main/java/gwtquery/jsquery/public/JsQuery.html @@ -2,18 +2,18 @@ JsQuery + src="dev.nocache.js" > -- 2.39.5