Fix example

This commit is contained in:
Dan Holmsand 2013-12-16 23:39:22 +01:00
parent 6437736815
commit f00f6e3334
3 changed files with 5 additions and 6 deletions

View File

@ -1,15 +1,15 @@
div, h1, input {
font-family: HelveticaNeue, Helvetica;
color: #777;
}
.example-clock {
font-size: 128px;
line-height: 128px;
line-height: 1.2em;
font-family: HelveticaNeue-UltraLight, Helvetica;
}
.color-input, .color-input input {
font-size: 24px;
line-height: 24px;
color: #444;
line-height: 1.5em;
}

View File

@ -3,13 +3,13 @@
<head>
<meta charset="utf-8">
<title>cloact simple example</title>
<link rel="stylesheet" href="todos.css">
<link rel="stylesheet" href="example.css">
</head>
<body>
<h1>This will become an example when the ClojureScript is compiled</h1>
<script type="text/javascript" src="target/client.js"></script>
<script type="text/javascript">
example.run();
simpleexample.run();
</script>
</body>
</html>

View File

@ -1,7 +1,6 @@
(ns simpleexample
(:require [cloact.core :as cloact :refer [atom partial]]
[cloact.debug :refer-macros [dbg]]
[clojure.string :as string]))
(def timer (atom (js/Date.)))