Closed nau closed 11 years ago
https://groups.google.com/forum/#!topic/jscala-user/GTuhNZ8Esn4
Fixed with #11 You can define your code inside a top-level object and use it.
object L { def f(x: Int): Int = ??? } javascript { L.f(3) }
will generate
f(3);
https://groups.google.com/forum/#!topic/jscala-user/GTuhNZ8Esn4