[parenscript-devel] XMLHttpRequest

Alex Mizrahi alex.mizrahi at gmail.com
Thu Apr 14 15:58:54 UTC 2011


 H> I wrote:
 H> (var xhr (new (@ window -x-m-l-http-request)))
 H> but I get:
 H> var xhr = new window.XMLHttpRequest;
 H> without trailing parenthesses: ()
 H> How do I do it right ?

You don't need "window." here -- it is implied.




More information about the parenscript-devel mailing list