On Monday, 27 February 2012 at 09:46:51 UTC, Andrea Fontana wrote:
Can you call custom (external, from 3rd party libs)
JS functions from there?

Yes, just make:

extern(js) void function_name_here(...);

and you can call it. For jQuery, you'd probably want
to define an extern(js) class JQuery {} with all its method
names. Since so many of them take strings, I think this would
actually be somewhat easy.


Reply via email to