public static native void loadPlugin() /*-{
var l = @gwtquery.jsquery.client.utils.JsQueryUtils::log(Ljava/lang/Object;);
+ var jQuery = $wnd.$;
+ var $ = $wnd.$;
var window = $wnd;
var document = $doc;
- var jQuery = $wnd.$;
(function($)
{
});
OverlayGQuery.export();
- JsMenu.loadPlugin();
- onJsQueryLoad();
+// JsMenu.loadPlugin();
// testJs();
}
});
}-*/;
- private native static void onJsQueryLoad() /*-{
- $ = $wnd.$;
- window = $wnd;
- document = $doc;
-
- $wnd.onJsQueryLoad && $wnd.onJsQueryLoad();
- $wnd.JsQuery && $wnd.JsQuery.onLoad && $wnd.JsQuery.onLoad();
- }-*/;
}
*/
@ExportAfterCreateMethod
public static native void afterCreate() /*-{
+ $ = $wnd.$;
+ window = $wnd;
+ document = $doc;
+
+ $wnd.onJsQueryLoad && $wnd.onJsQueryLoad();
+ $wnd.JsQuery && $wnd.JsQuery.onLoad && $wnd.JsQuery.onLoad();
}-*/;
@ExportStaticMethod("$wnd.$")