diff options
author | Manolo Carrasco <manolo@apache.org> | 2011-09-06 05:55:06 +0000 |
---|---|---|
committer | Manolo Carrasco <manolo@apache.org> | 2011-09-06 05:55:06 +0000 |
commit | 914e0a85df99f0826f32d5a80d98c032779484c6 (patch) | |
tree | 7d67e1996bae5b14866d655a3c6112bef6f77ffc | |
parent | d02bdc4639c7971481decd4b28428ecf8c7455bf (diff) | |
download | gwtquery-914e0a85df99f0826f32d5a80d98c032779484c6.tar.gz gwtquery-914e0a85df99f0826f32d5a80d98c032779484c6.zip |
update lazy interfaces
-rw-r--r-- | gwtquery-core/src/main/java/com/google/gwt/query/client/LazyGQuery.java | 9 | ||||
-rw-r--r-- | jsquery/src/main/java/gwtquery/jsquery/client/JQ.java | 4 |
2 files changed, 4 insertions, 9 deletions
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/LazyGQuery.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/LazyGQuery.java index 16ab8ec7..5e68a6fc 100644 --- a/gwtquery-core/src/main/java/com/google/gwt/query/client/LazyGQuery.java +++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/LazyGQuery.java @@ -32,11 +32,11 @@ import com.google.gwt.dom.client.OptionElement; import com.google.gwt.dom.client.SelectElement; import com.google.gwt.dom.client.Style.Display; import com.google.gwt.dom.client.Style.HasCssName; -import com.google.gwt.dom.client.StyleInjector.StyleInjectorImpl; import com.google.gwt.dom.client.TextAreaElement; import com.google.gwt.query.client.css.HasCssValue; import com.google.gwt.query.client.css.TakesCssValue; import com.google.gwt.query.client.css.TakesCssValue.CssSetter; +import com.google.gwt.query.client.impl.AttributeImpl; import com.google.gwt.query.client.impl.DocumentStyleImpl; import com.google.gwt.query.client.impl.SelectorEngine; import com.google.gwt.query.client.js.JsCache; @@ -358,12 +358,7 @@ public interface LazyGQuery<T> extends LazyBase<T>{ /** * Set a single property to a value, on all matched elements. */ - LazyGQuery<T> attr(String key, boolean value); - - /** - * Set a single property to a value, on all matched elements. - */ - LazyGQuery<T> attr(String key, String value); + LazyGQuery<T> attr(String key, Object value); /** * Insert content before each of the matched elements. The elements must diff --git a/jsquery/src/main/java/gwtquery/jsquery/client/JQ.java b/jsquery/src/main/java/gwtquery/jsquery/client/JQ.java index 00e45cd5..8596b1cb 100644 --- a/jsquery/src/main/java/gwtquery/jsquery/client/JQ.java +++ b/jsquery/src/main/java/gwtquery/jsquery/client/JQ.java @@ -87,8 +87,8 @@ public class JQ implements ExportOverlay<GQuery> { // We have to stub all the method we want to export here. private JQ(){} public String toString() {return null;} - public GQuery add(GQuery previousObject) {System.out.println("ccc");return null;} - public GQuery add(String selector) {System.out.println("ccc");return null;} + public GQuery add(GQuery previousObject) {return null;} + public GQuery add(String selector) {return null;} public GQuery addClass(String... classes) {return null;} public GQuery after(GQuery query) {return null;} public GQuery after(Node n) {return null;} |