html file:
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
</head>
<body>
<h1 id="app">This is clojure</h1>
<button "test" onclick="hi()">hello</button>
<script src="out/main.js" type="text/javascript"></script>
</body>
</html>
hello world file: (ns hello-world.core)
(println "Hello world!")
(def hi []
(println "test")
)
Should "hi" not get invoked in this clojure script project?