swannodette / lt-cljs-tutorial

A ClojureScript Programming Language Tutorial for Light Table Users
MIT License
863 stars 123 forks source link

ReferenceError: lt_cljs_tutorial is not defined #29

Closed blissdev closed 10 years ago

blissdev commented 10 years ago

I receive the following error when trying to evaluate line 81 (https://github.com/swannodette/lt-cljs-tutorial/blob/master/lt-cljs-tutorial.cljs#L81). Should I not be evaluating there or is this another issue?

ReferenceError: lt_cljs_tutorial is not defined
    at eval (/Users/bliss/Code/lt-cljs-tutorial/lt-cljs-tutorial.cljs[eval7]:81:1)
    at eval (native)
    at Function.eval (file:///Applications/LightTable/LightTable.app/Contents/Resources/app.nw/core/node_modules/lighttable/bootstrap.js:33785:461)
    at b (file:///Applications/LightTable/LightTable.app/Contents/Resources/app.nw/core/node_modules/lighttable/bootstrap.js:6188:14)
    at a (file:///Applications/LightTable/LightTable.app/Contents/Resources/app.nw/core/node_modules/lighttable/bootstrap.js:6234:18)
    at cljs.core.do_dispatch (file:///Applications/LightTable/LightTable.app/Contents/Resources/app.nw/core/node_modules/lighttable/bootstrap.js:13583:26)
    at cljs.core.MultiFn.cljs$core$IMultiFn$_dispatch$arity$2 (file:///Applications/LightTable/LightTable.app/Contents/Resources/app.nw/core/node_modules/lighttable/bootstrap.js:13655:32)
    at cljs.core._dispatch (file:///Applications/LightTable/LightTable.app/Contents/Resources/app.nw/core/node_modules/lighttable/bootstrap.js:13568:14)
    at a (file:///Applications/LightTable/LightTable.app/Contents/Resources/app.nw/core/node_modules/lighttable/bootstrap.js:13662:32)
    at b [as call] (file:///Applications/LightTable/LightTable.app/Contents/Resources/app.nw/core/node_modules/lighttable/bootstrap.js:13666:14)
swannodette commented 10 years ago

Did you evaluate the namespace form first? Nothing else will work without first doing this.

blissdev commented 10 years ago

I'm sorry, that was super obvious. Thanks!