On Aug 5, 2011, at 3:06 PM, David Nolen wrote:
On Fri, Aug 5, 2011 at 2:51 PM, Fogus <mefo...@gmail.com> wrote:
The following lines looks problematic:
(ns mainpage
(:use lib.dom-helpers))
That is, ClojureScript only supports the (ns foo (:require [a.b :as
c])) form. Try changing your ns declaration accordingly.
The error message could be slightly better I agree. ;-)
:F
Is there any particular reason / design rationale to not support use?
:use requires the ability to determine all the names in a namespace,
something we don't generally have in ClojureScript, especially for JS
pseudo-namespaces.
Rich
--
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