views.reagent/examples/todomvc/resources/html/app.html

26 lines
995 B
HTML
Raw Normal View History

2014-12-28 00:56:19 -05:00
<!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">
2016-05-23 13:53:36 -04:00
<!-- 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 }}">
2014-12-28 00:56:19 -05:00
</head>
<body>
2016-05-23 13:53:36 -04:00
<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>
2014-12-28 00:56:19 -05:00
{% if dev %}<script type="text/javascript">goog.require('todomvc.client');</script>{% endif %}
<script type="text/javascript">
todomvc.client.run();
</script>
</body>
</html>