-<module rename-to='jsquery'>
+<module rename-to='dev'>
<inherits name='com.google.gwt.query.Query' />
<inherits name='org.timepedia.exporter.Exporter' />
<inherits name='com.google.gwt.junit.JUnit' />
public <T extends GQuery> T as(Class<T> plugin) {return null;}
// public GQuery attr(Properties properties) {return null;}
public String attr(String name) {return null;}
- public GQuery attr(String key, Function closure) {return null;}
- public GQuery attr(String key, String value) {return null;}
+// public GQuery attr(String key, Function closure) {return null;}
+ public GQuery attr(String key, Object value) {return null;}
public GQuery before(GQuery query) {return null;}
public GQuery before(Node n) {return null;}
public GQuery before(String html) {return null;}
<head>
<title>JsQuery</title>
<script language="javascript"
- src="jsquery.nocache.js" ></script>
+ src="dev.nocache.js" ></script>
</head>
<body>
<div id='hello' style='display: none'>Hello</div>
<script>
onJsQueryLoad = function(){
- $('#hello').show();
- alert($('#hello').text());
+ $('#hello').show().attr("width", true);
+ alert($('#hello').text());
}
- if ($) {
- $(document).ready(onJsQueryLoad);
- onJsQueryLoad = null;
+ if (window.$) {
+ $(document).ready(onJsQueryLoad);
+ onJsQueryLoad = null;
}
</script>
</body>