Skip to content

Instantly share code, notes, and snippets.

@bhenry
Created May 22, 2012 13:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bhenry/25cdcee02bb03d506f70 to your computer and use it in GitHub Desktop.
Save bhenry/25cdcee02bb03d506f70 to your computer and use it in GitHub Desktop.
{:source-path "src/cljs"
:compiler {:output-to "resources/public/javascripts/main-debug.js"
:optimizations :whitespace
:pretty-print true}}
ClojureScript:cljs.user> (clojure-version)
"Error evaluating:" (clojure-version) :as "cljs.user.clojure_version.call(null);\n"
#<TypeError: Cannot call method 'call' of undefined>
TypeError: Cannot call method 'call' of undefined
at eval at <anonymous> (http://localhost:8080/javascripts/main-debug.js:30965:147)
at eval at <anonymous> (http://localhost:8080/javascripts/main-debug.js:30965:147)
at http://localhost:8080/javascripts/main-debug.js:30965:142
at evaluate_javascript (http://localhost:8080/javascripts/main-debug.js:30978:4)
at Object.callback (http://localhost:8080/javascripts/main-debug.js:31043:140)
at [object Object].deliver (http://localhost:8080/javascripts/main-debug.js:28395:13)
at [object Object].deliver_ (http://localhost:8080/javascripts/main-debug.js:30409:14)
at Function.messageReceived_ (http://localhost:8080/javascripts/main-debug.js:30003:13)
at [object Object].handleEvent (http://localhost:8080/javascripts/main-debug.js:24481:26)
at Object.fireListener (http://localhost:8080/javascripts/main-debug.js:24980:21)
nil
ClojureScript:cljs.user> (+ 1 1 )
2
ClojureScript:cljs.user>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment