ku-fpg / blank-canvas

A Haskell API into HTML5 Canvas
BSD 3-Clause "New" or "Revised" License
72 stars 14 forks source link

a send that generates JavaScript #51

Open andygill opened 10 years ago

andygill commented 10 years ago

Have a version of send that generates JavaScript, for use outside blank-canvas.

I've create a wiki page for discussions.

andygill commented 10 years ago

(I've updated the original comment with the link)

It turns out to be quite tricky to balance online and offline concerns, if we want to share the code generator between the two modes.

jeffreyrosenbluth commented 10 years ago

I think that outlines the problem very nicely.

Do you think it's worth while to build a simpleJS function that only outputs standalone js for the "easy" constructs?

andygill commented 9 years ago

Related to #12.