[haXe] [js] end of function ';'

Marco Secchi loziosecchi at gmail.com
Sun Jan 28 10:41:03 CET 2007


Hi Nicolas/list,
  one quick question:

When I compile a .js file with haXe, I've noticed that local  
functions haven't a ';' character at the end. Eg.:

js = {}
js.Boot = function() { }

Shouldn't be the case to have (I'm not very good in js, so probably  
I'm wrong...):

js = {};
js.Boot = function() { };

I'm saying this because I'm using a js compact function (all in one  
line), and it complains about this.

thanks in advance,
  Marco

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.motion-twin.com/pipermail/haxe/attachments/20070128/2e7f9aca/attachment-0001.htm


More information about the Haxe mailing list