On 29-10-10 22:20, Aaron Gray wrote:
On 27 October 2010 13:30, Martijn Schrage <mart...@oblomov.com <mailto:mart...@oblomov.com>> wrote:

    On 21-10-10 01:01, Victor Nazarov wrote:


    This example creates a text field that turns red if it contains
    any non-digit characters. It is on-line at
    http://tryout.oblomov.com/ghcjs/ghcjs.html  (Note: I only tested
    it on Firefox on a Mac)

    All used files are in a zip file at
    http://tryout.oblomov.com/ghcjs/ghcjs.zip (validate is in Test.hs,
    the JS monad in JS.hs, and the JavaScript for execHaskell in util.js)


What browser are you using, IE8, IE9, FF and Chrome on Windows throw up errors, both locally and to your above code.
That's weird, since http://tryout.oblomov.com/ghcjs/ghcjs.html works fine for me with Firefox both on Mac and Windows (XP & 7). There is only a small bug that causes a key event to get lost when the Haskell JavaScript modules are loaded.

What error messages do you get from Firefox?

-- Martijn
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to