diff options
author | Manuel Carrasco Moñino <manuel.carrasco.m@gmail.com> | 2013-02-07 16:56:57 +0100 |
---|---|---|
committer | Manuel Carrasco Moñino <manuel.carrasco.m@gmail.com> | 2013-02-07 16:56:57 +0100 |
commit | c2eba791ed0cbc9f40c3e860c313f94038d6f56e (patch) | |
tree | e35a9f24f72146cc6be17db123a4b3dbfc2e77e4 | |
parent | 6c36a6ef2221026713b9d6146bd4fb50afc6b663 (diff) | |
download | gwtquery-c2eba791ed0cbc9f40c3e860c313f94038d6f56e.tar.gz gwtquery-c2eba791ed0cbc9f40c3e860c313f94038d6f56e.zip |
Change method signature
-rw-r--r-- | gwtquery-core/src/main/java/com/google/gwt/query/client/js/JsUtils.java | 2 |
1 files changed, 1 insertions, 1 deletions
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)); }-*/; |