package gwtquery.client; import com.google.gwt.core.client.JavaScriptObject; import com.google.gwt.dom.client.Element; import com.google.gwt.dom.client.Node; import com.google.gwt.dom.client.NodeList; /** */ public class JSArray extends NodeList { public static JSArray create() { return (JSArray) JavaScriptObject.createArray(); } public static native JSArray create(Node node) /*-{ return [node]; }-*/; public static native JSArray create(NodeList nl) /*-{ var r = [], len=nl.length; for(var i=0; i