aboutsummaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
Diffstat (limited to 'samples')
-rw-r--r--samples/src/main/java/gwtquery/samples/client/GwtQuerySampleModule.java17
-rw-r--r--samples/src/main/java/gwtquery/samples/public/GwtQuerySample.html1
2 files changed, 0 insertions, 18 deletions
diff --git a/samples/src/main/java/gwtquery/samples/client/GwtQuerySampleModule.java b/samples/src/main/java/gwtquery/samples/client/GwtQuerySampleModule.java
index 298e420d..c72f7f50 100644
--- a/samples/src/main/java/gwtquery/samples/client/GwtQuerySampleModule.java
+++ b/samples/src/main/java/gwtquery/samples/client/GwtQuerySampleModule.java
@@ -50,22 +50,5 @@ public class GwtQuerySampleModule implements EntryPoint {
// Cascade effects
$("<div id='id' style='font-size: 150%;'>Cascade Efects</div>").appendTo(document).hide().fadeIn(5000).fadeOut(3000);
-
- int gqw = $(".outer").width();
- String jqw = runJsCommand("$wnd.$('.outer').width()");
-
- int gqh = $(".outer").height();
- String jqh = runJsCommand("$wnd.$('.outer').height()");
-
- String msg = ".outer size: GQuery: " + gqw + "x" + gqh + " jQuery: " + jqw + "x" + jqh;
- Window.alert(msg);
}
-
- private native String runJsCommand(String js) /*-{
- try {
- return "" + eval(js);
- } catch (e) {
- return "" + e;
- }
- }-*/;
}
diff --git a/samples/src/main/java/gwtquery/samples/public/GwtQuerySample.html b/samples/src/main/java/gwtquery/samples/public/GwtQuerySample.html
index fe646a99..1477c1d1 100644
--- a/samples/src/main/java/gwtquery/samples/public/GwtQuerySample.html
+++ b/samples/src/main/java/gwtquery/samples/public/GwtQuerySample.html
@@ -1,7 +1,6 @@
<html>
<head>
<title>GQuery Demo</title>
- <script src="js/jquery-1.4.4.js"></script>
<script language="javascript" src="gwtquery.samples.GwtQuerySample.nocache.js"></script>
</head>
<body>