1.1 --- a/launcher/fx/src/test/java/org/apidesign/bck2brwsr/launcher/fximpl/JsMethods.java Mon Jun 17 16:17:46 2013 +0200
1.2 +++ b/launcher/fx/src/test/java/org/apidesign/bck2brwsr/launcher/fximpl/JsMethods.java Mon Jun 17 19:36:24 2013 +0200
1.3 @@ -34,4 +34,12 @@
1.4
1.5 @JavaScriptBody(args = {"x"}, body = "return x;")
1.6 public static native int plus(int x);
1.7 +
1.8 + @JavaScriptBody(args = {}, body = "return this;")
1.9 + public static native Object staticThis();
1.10 +
1.11 + @JavaScriptBody(args = {}, body = "return this;")
1.12 + public native Object getThis();
1.13 + @JavaScriptBody(args = {"x"}, body = "return x;")
1.14 + public native int plusInst(int x);
1.15 }