I’m experimenting with Google AppScript using Haxe (made possible by Tong’s great externs: google-apps-script (0.2.0)).
There are some AppScript specific callbacks expected to live in the global scope, for example
onEdit(event) wich is called whenever a spreadsheet cell is changed.
Is there a way of exposing a method directly as a property to the global scope without that class wrapper?
(Right now, i get around by post processing the generated .js file, but I would prefer doing it in native Haxe at one run, of course…)