I upgraded the clojurescript version of a working application to 0.0-2030 and suddenly reader/read-string returns null, e.g:
(js/alert (str "reader returned [" (reader/read-string "{1 2}") "]"))
shows []. I compile with the cljsbuild plugin:
:cljsbuild {:builds [{:source-paths ["src/cljs/main"],
:compiler {:pretty-print true,
:output-to "resources/public/cljs/main.js",
:optimizations :whitespace}}
reeader is defined like this:
(:require
[cljs.reader :as reader]
What can I be doing wrong?