mirror of https://github.com/status-im/reagent.git
Fix example
This commit is contained in:
parent
6437736815
commit
f00f6e3334
|
@ -1,15 +1,15 @@
|
||||||
div, h1, input {
|
div, h1, input {
|
||||||
font-family: HelveticaNeue, Helvetica;
|
font-family: HelveticaNeue, Helvetica;
|
||||||
|
color: #777;
|
||||||
}
|
}
|
||||||
|
|
||||||
.example-clock {
|
.example-clock {
|
||||||
font-size: 128px;
|
font-size: 128px;
|
||||||
line-height: 128px;
|
line-height: 1.2em;
|
||||||
font-family: HelveticaNeue-UltraLight, Helvetica;
|
font-family: HelveticaNeue-UltraLight, Helvetica;
|
||||||
}
|
}
|
||||||
|
|
||||||
.color-input, .color-input input {
|
.color-input, .color-input input {
|
||||||
font-size: 24px;
|
font-size: 24px;
|
||||||
line-height: 24px;
|
line-height: 1.5em;
|
||||||
color: #444;
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,13 +3,13 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>cloact simple example</title>
|
<title>cloact simple example</title>
|
||||||
<link rel="stylesheet" href="todos.css">
|
<link rel="stylesheet" href="example.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h1>This will become an example when the ClojureScript is compiled</h1>
|
<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" src="target/client.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
example.run();
|
simpleexample.run();
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
|
|
||||||
(ns simpleexample
|
(ns simpleexample
|
||||||
(:require [cloact.core :as cloact :refer [atom partial]]
|
(:require [cloact.core :as cloact :refer [atom partial]]
|
||||||
[cloact.debug :refer-macros [dbg]]
|
|
||||||
[clojure.string :as string]))
|
[clojure.string :as string]))
|
||||||
|
|
||||||
(def timer (atom (js/Date.)))
|
(def timer (atom (js/Date.)))
|
||||||
|
|
Loading…
Reference in New Issue