
27 Oct
2010
27 Oct
'10
2:23 p.m.
On Wed, Oct 27, 2010 at 5:25 PM, Ryan Yates
I ran into a problem with line 31 of examples/rts-common.js when running on Chrome:
var word16addCarry = function function(a, b, c) { Shouldn't that be: var word16addCarry = function(a, b, c) {
Yes, that's my fault. I'll fix it.
With that change it runs fine for me (GHC 6.12.3). Chrome also wasn't happy loading from the local file system (Cross origin requests are only supported for HTTP), so I just used happstack to test:
import Happstack.Server main = simpleHTTP nullConf (fileServe [] "./")
I wasn't able to run it in Chrome without dedicated HTTP-server, seems like it is the only way... -- Victor Nazarov