cgrand / xforms

Extra transducers and reducing fns for Clojure(script)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Infinity symbol is causing problems with clojurescript compiled output

bbss opened this issue · comments

When compiling clojurescript for production use there is an issue that causes errors at runtime:

image

It seems to be that the browser doesn't like the infinity symbol:
https://github.com/cgrand/xforms/blob/master/src/net/cgrand/xforms/rfs.cljc#L42

I'm not sure this issue belongs here as maybe the clojurescript compiler should catch this, but I'd like to report this here anyway.

@cgrand: thank you for the immediate fix! very helpful!