[Ur] compiling javascript ffi example

Edward Z. Yang ezyang at MIT.EDU
Wed Apr 25 04:26:53 EDT 2012


In that case, it seems likely that you accidentally attempted to invoke
the JS FFI function from server-side code.

Edward

Excerpts from Timothy Beyer's message of Wed Apr 25 04:25:40 -0400 2012:
> At Wed, 25 Apr 2012 04:14:19 -0400,
> Edward Z. Yang wrote:
> > 
> > Hello Tim,
> > 
> > The JavaScript FFI is a bit different from the C FFI, so modifying
> > the C example is not the best way to do it.  You should crack open
> > the manual, and look up jsFunc, clientOnly and ffi urp directives.
> > 
> > Edward
> > 
> 
> Hi,
> 
> I will read the manual more carefully, I did use jsFunc and the ffi directives so far though.
> 
> Regards,
> Tim



More information about the Ur mailing list