view tests/clib.urp @ 1595:154cfe2eb366

Better error messages about server-side use of client-side functions
author Adam Chlipala <adam@chlipala.net>
date Mon, 14 Nov 2011 09:15:10 -0500
parents eac1974924bb
children
line wrap: on
line source
ffi test
include test.h
script http://localhost/test/test.js
link test.o
effectful Test.print
serverOnly Test.foo
clientOnly Test.bar
effectful Test.transactional
jsFunc Test.print=print
jsFunc Test.bar=bar