From: Manuel Carrasco MoƱino Date: Thu, 7 Feb 2013 15:56:57 +0000 (+0100) Subject: Change method signature X-Git-Tag: release-1.3.2~18^2~4 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c2eba791ed0cbc9f40c3e860c313f94038d6f56e;p=gwtquery.git Change method signature --- diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/js/JsUtils.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/js/JsUtils.java index c54ab588..b24fe2eb 100644 --- a/gwtquery-core/src/main/java/com/google/gwt/query/client/js/JsUtils.java +++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/js/JsUtils.java @@ -257,7 +257,7 @@ public class JsUtils { * implementation returns an empty string instead of null when the attribute is not * present */ - public static native boolean hasAttribute(JavaScriptObject o, String name)/*-{ + public static native boolean hasAttribute(Element o, String name)/*-{ return !!(o && o.getAttribute(name)); }-*/;