Open mtopolnik opened 10 years ago
=> (require ['net.cgrand.moustache :refer ['app]]) nil => (app :middlewares [] ["a"] "a here" ["b"] "b here") ClassCastException clojure.lang.PersistentVector cannot be cast to clojure.lang.Named clojure.core/name (core.clj:1505) net.cgrand.moustache/method-not-allowed-form/fn--1691 (moustache.clj:132) clojure.core/map/fn--4207 (core.clj:2487) clojure.lang.LazySeq.sval (LazySeq.java:42) clojure.lang.LazySeq.seq (LazySeq.java:60) clojure.lang.RT.seq (RT.java:484) clojure.core/seq (core.clj:133) clojure.core/interleave/fn--4525 (core.clj:3901) clojure.lang.LazySeq.sval (LazySeq.java:42) clojure.lang.LazySeq.seq (LazySeq.java:60) clojure.lang.RT.seq (RT.java:484) clojure.core/seq (core.clj:133) nil
In project.clj:
:dependencies [[org.clojure/clojure "1.5.1"] [org.clojure/core.incubator "0.1.3"] [org.clojure/data.json "0.1.1"] [net.cgrand/moustache "1.2.0-alpha2"] [ring/ring-core "1.1.0"] [ring/ring-json "0.2.0"] [ring/ring-jetty-adapter "0.3.10"]]
In project.clj: