This is hacky, but runs...

(define ($ x)
  (%code "arguments[1] = $(arguments[1]);")
  x)

(define (main-program event)
  (%inline .append ($ "#top-div") "<span>some appended text</span><br>"))

(%inline .addEventListener (%host-ref "window") "load" (callback main-program))


  http://headache.hungry.com/~seth/spock-and-jquery.tar.gz

    -seth

On Wed, Aug 15, 2012 at 1:54 PM, Seth Alves <[email protected]> wrote:
> Does anyone have an example of using spock and jquery together?
>
>     -seth

_______________________________________________
Chicken-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to