Mefesto's solution is correct. I wrote a brief justification for why you
need to set CLOSURE_NO_DEPS=true in lein-cljsbuild's simple example:
https://github.com/emezeske/lein-cljsbuild/blob/master/example-projects/simple/src-clj/example/views.clj#L8
On Monday, May 14, 2012 6:21:06 AM UTC-7,
Hi,
I am using lein-cljsbuild to compile the cljs code. I see reference to a
deps.js file that is added after the tag in which I have included the
generated js file. The browser naturally fails to find the file as it does
not exist.
What is the deps.js file and how do I resolve its 404
I think the current fix is to add this JS declaration before you
import your cljs generated js file. IIRC, this is only needed when
building without advanced optimizations.
script type=text/javascript
var CLOSURE_NO_DEPS = true;
/script
script type=text/javascript src=js/myapp.js/script
AJ