The error message was cutoff in my previous post; the error returned is: Uncaught TypeError: Cannot call method 'call' of undefined
jQuery.ajaxSetup(jayq.core.clj__GT_js.call(null, cljs.core.ObjMap.fromObject(["\ufdd0'accepts", "\ufdd0'contents", "\ufdd0'converters"], {"\ufdd0'accepts":cljs.core.ObjMap.fromObject(["\ufdd0'edn", "\ufdd0'clojure"], {"\ufdd0'edn":"application/edn, text/edn", "\ufdd0'clojure":"application/clojure, text/clojure"}), "\ufdd0'contents":cljs.core.ObjMap.fromObject(["clojure"], {"clojure":/edn|clojure/}), "\ufdd0'converters":cljs.core.ObjMap.fromObject(["text edn", "text clojure"], {"text edn":jayq.core.mimetype_converter, Uncaught TypeError: Cannot call method 'call' of undefined On Friday, January 18, 2013 3:48:16 PM UTC-5, Ari wrote: > > 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