From 914e0a85df99f0826f32d5a80d98c032779484c6 Mon Sep 17 00:00:00 2001 From: Manolo Carrasco Date: Tue, 6 Sep 2011 05:55:06 +0000 Subject: update lazy interfaces --- .../src/main/java/com/google/gwt/query/client/LazyGQuery.java | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'gwtquery-core/src') 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 extends LazyBase{ /** * Set a single property to a value, on all matched elements. */ - LazyGQuery attr(String key, boolean value); - - /** - * Set a single property to a value, on all matched elements. - */ - LazyGQuery attr(String key, String value); + LazyGQuery attr(String key, Object value); /** * Insert content before each of the matched elements. The elements must -- cgit v1.2.3