[web-devel] Re: Can someone post/point to some simple examples of
using hjscript, ideally with happstack?
Jeremy Shaw
jeremy at n-heptane.com
Tue Jun 1 17:31:22 EDT 2010
Hello,
HJScript is a royal pain to use, IMO. Though I still use it because I
haven't found anything better.
There is a little bit of HJScript in this demo starting at line 549:
http://src.seereason.com/examples/happstack-imageboard/Web.hs
not sure that is going to clear much up though. To pop up an alert box do;
window # alert (string "an freaking alert box.")
- jeremy
On Tue, Jun 1, 2010 at 2:14 PM, Thomas Hartman <
thomashartman1 at googlemail.com> wrote:
> Hey, I am starting to integrate some javascript, specifically I am
> generating google finance type charts using
>
>
> http://code.google.com/apis/visualization/documentation/gallery/annotatedtimeline.html
>
> from the google charts api.
>
> This seems like a perfect place to wrap javascript in some typesafe
> goodness, but I find the documentation somewhat impenetrable.
>
>
> http://hackage.haskell.org/packages/archive/HJScript/0.5.0/doc/html/HJScript.html
>
> Could someone that's familiar with hjscript post a synopsis with a
> simple use case like popping up a hello world message box or
> something?
>
> Suggestions on other javascript dsls are also welcome.
>
> Thanks in advance!
>
> thomas.
>
> --
> Need somewhere to put your code? http://patch-tag.com
> Want to build a webapp? http://happstack.com
>
> --
> You received this message because you are subscribed to the Google Groups
> "Haskell Server Pages" group.
> To post to this group, send email to haskell-server-pages at googlegroups.com
> .
> To unsubscribe from this group, send email to
> haskell-server-pages+unsubscribe at googlegroups.com<haskell-server-pages%2Bunsubscribe at googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/haskell-server-pages?hl=en.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/web-devel/attachments/20100601/08814ba9/attachment.html
More information about the web-devel
mailing list