aboutsummaryrefslogtreecommitdiffstats
path: root/gwtquery-core/src
diff options
context:
space:
mode:
authorManolo Carrasco <manolo@apache.org>2010-05-03 14:06:43 +0000
committerManolo Carrasco <manolo@apache.org>2010-05-03 14:06:43 +0000
commit11d181f5c451ce618b300f088d5a6b1294929be3 (patch)
tree9b3c449ae4594e0f2ab59689c4942d6b2c36a1f9 /gwtquery-core/src
parent32f8c2333f8b2ef1a87ffe99717784bd8440a7ef (diff)
downloadgwtquery-11d181f5c451ce618b300f088d5a6b1294929be3.tar.gz
gwtquery-11d181f5c451ce618b300f088d5a6b1294929be3.zip
Fixes Issue_32
Diffstat (limited to 'gwtquery-core/src')
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/GQuery.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/GQuery.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/GQuery.java
index 6bb1e721..46cfefee 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/GQuery.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/GQuery.java
@@ -194,6 +194,8 @@ public class GQuery implements Lazy<GQuery, LazyGQuery> {
return this[i];
}-*/;
}
+
+ public static final Element window = window();
public static boolean fxOff = false;
@@ -2626,7 +2628,7 @@ public class GQuery implements Lazy<GQuery, LazyGQuery> {
return this;
}
- private native Element window() /*-{
+ private static native Element window() /*-{
return $wnd;
}-*/;
}