A simple observation: Ari, you are using [lein-cljsbuild "0.2.9"] while
Ilia is using version "0.2.10".
Also, you are using [org.clojure/clojurescript "0.0-1450"]. I generally do
not recommend specifying a clojurescript version explicitly -- the version
that lein-cljsbuild defaults to is the o
You need to use a more recent clojurescript version (you are missing
clj->js from cljs.core).
see
https://github.com/ibdknox/jayq/blob/master/CHANGELOG.md#200-breaking-changes
On Saturday, January 19, 2013 4:02:29 AM UTC+1, Ari wrote:
>
> I also noticed that when I compile the cljs code I get
I also noticed that when I compile the cljs code I get:
WARNING: Use of undeclared Var jayq.core/clj->js
On Friday, January 18, 2013 9:56:22 PM UTC-5, Ari wrote:
>
> Hi,
>
> Below is the project.clj -- anything stand out? Thanks for the help.
>
> (defproject sample "0.1.0-SNAPSHOT"
> :descript
Hi,
Below is the project.clj -- anything stand out? Thanks for the help.
(defproject sample "0.1.0-SNAPSHOT"
:description "Practice Clojure/Clojurescript app"
:url ""
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:source-paths ["sr
Hello Ari,
I've tried to reproduce your case and it works for me. I use the following
project.clj:
(defproject playground "0.1.0"
:dependencies [[jayq "2.0.0"]]
:min-lein-version "2.0.0"
:source-paths ["src"]
:plugins [[lein-cljsbuild "0.2.10"]]
:cljsbuild {:builds
[{:so
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.c