26 lines
995 B
HTML
26 lines
995 B
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>todomvc with reagent</title>
|
|
<link rel="stylesheet" href="todos.css">
|
|
<link rel="stylesheet" href="todosanim.css">
|
|
|
|
<!-- include CSRF token that ring's anti-forgery middleware is expecting.
|
|
clj-browserchannel's client-side init will pick this meta tag up
|
|
automatically and include the token in all of browserchannel's
|
|
requests to the server. -->
|
|
<meta name="anti-forgery-token" content="{{ csrfToken }}">
|
|
</head>
|
|
<body>
|
|
<div id="app">
|
|
<h1>This will become todomvc when the ClojureScript is compiled</h1>
|
|
</div>
|
|
{% if dev %}<script type="text/javascript" src="cljs/target/goog/base.js"></script>{% endif %}
|
|
<script type="text/javascript" src="cljs/app.js"></script>
|
|
{% if dev %}<script type="text/javascript">goog.require('todomvc.client');</script>{% endif %}
|
|
<script type="text/javascript">
|
|
todomvc.client.run();
|
|
</script>
|
|
</body>
|
|
</html> |