To reproduce:
- Run
lein cljsbuild once in the example project.
- Open a REPL in the example project.
- Open
index.html in a browser.
- Switch to the
weasel-example.example NS, and evaluate baz.
The referred var will not be available.
Then, run (load-file "weasel_example/example.cljs"), and try to evaluate baz again. The referred var will be available, and its value will be printed.