Hi,

When I use the jayq <https://github.com/ibdknox/jayq> library to wait until 
the page loads (see following code) I get the error below. If I remove 
jayq, the code executes correctly. Does anyone know what I'm doing wrong? 
Thanks.

Html:
<!DOCTYPE html>
<html>
<head></head>
<body>
<script type="text/javascript" 
src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js";></script>
<script type="text/javascript">var CLOSURE_NO_DEPS = true;</script>
<script type="text/javascript" src="javascripts/app.js"></script>
</body>
</html>


Clojurescript:

(ns myapp.example
(:use [jayq.core :only [$]])
(:use-macros [jayq.macros :only [ready]]))

(ready (js/alert "Hello"))

Error:
jQuery.ajaxSetup(jayq.core.clj__GT_js.call...

-Ari

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to