hi,
I am putting together a small Clojurescript project and trying out Chris
Granger's library, fetch.
I can call functions defined in the fetch.util namespace no problem but
when ever I try and use things defined in the fetch.remotes namespace it
fails.
The compilation is successful but the browser spits an error saying that
the function in fetch.remotes is undefined.
Anyone got any ideas?
here is the namespace imports, second one work, first doesn't
(:require [fetch.remotes :as fr])
(:use [fetch.util :only [clj->js]])
Here is a sample of my project.clj file
(defproject my-proj "1.0.0-SNAPSHOT"
:description "FIXME: write description"
:dependencies [[org.clojure/clojure "1.3.0"]
[noir "1.3.0-alpha10"]
[seesaw "1.3.1-SNAPSHOT"]
[jayq "0.1.0-SNAPSHOT"]
[fetch "0.1.0-SNAPSHOT"]]
:cljsbuild [{:source-path "src"
:crossovers [proj.core]
:compiler {:output-dir "resources/public/js"
:output-to "resources/public/js/my_proj.js"
:externs ["resources/externs/highcharts.js"]
:optimizations :simple
:pretty-print false}}])
Cheers,
James
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en