I have the following several namespaces in a clojurescript project, and one of
them is not being included during compilation.
The folder structure looks something like this:
---project
------src
---------schools
-------------core.cljs
---------cljafty
-------------core.cljs
All the functions in schools.core are loaded properly, but for some reason,
cljafty.core is not loaded on startup. (However, if I load it in the REPL, it
works fine).
Does anyone know how to make sure this is loaded properly on startup (i.e. so
that my index.html can access cljafty)?
Thanks
Here is my index.html:
<!DOCTYPE html>
<html>
<head>
<link href="css/style.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="game"></div>
<script src="js/compiled/schools.js" type="text/javascript"></script>
<script type="text/javascript">
cljafty.core.init(500,500,"game");
</script>
</body>
</html>
--
Note that posts from new members are moderated - please be patient with your
first post.
---
You received this message because you are subscribed to the Google Groups
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.