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 {
|
||||
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;
|
||||
}
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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.)))
|
||||
|
|
Loading…
Reference in New Issue