branch | classloader |
changeset 1178 | 4ae766848ce0 |
parent 1176 | 0250b8a739de |
child 1181 | b703d9d71f25 |
1.1 --- a/launcher/fx/src/test/java/org/apidesign/bck2brwsr/launcher/fximpl/JsMethods.java Mon Jun 17 11:00:51 2013 +0200 1.2 +++ b/launcher/fx/src/test/java/org/apidesign/bck2brwsr/launcher/fximpl/JsMethods.java Mon Jun 17 16:17:46 2013 +0200 1.3 @@ -31,4 +31,7 @@ 1.4 1.5 @JavaScriptBody(args = {"x", "y" }, body = "return x + y;") 1.6 public static native int plus(int x, int y); 1.7 + 1.8 + @JavaScriptBody(args = {"x"}, body = "return x;") 1.9 + public static native int plus(int x); 1.10 }