Dan Holmsand
d57fbc8fd6
Simplify page handling in demo a little
2015-01-31 22:02:30 +01:00
Dan Holmsand
0b97403d1b
Use cljsjs/react and require clojurescript >= 2740
...
This means that old style :preamble inclusion is deprecated.
2015-01-29 14:49:01 +01:00
Dan Holmsand
96f57a27b6
Fix site display on mobile
2014-12-11 09:01:25 +01:00
Dan Holmsand
bc89612a76
Fix site-generation and simplify title setting
2014-11-29 19:51:45 +01:00
Dan Holmsand
bffbae231d
Reorganize build, tests and doc site
...
Tests and doc site can now run without node, using only
"lein figwheel". Tests and site are then re-run automatically
whenever a source file changes.
The doc site is now generated into "outsite/public", and can be
copied into the "gh-pages" branch with "make build-gh-pages".
"make push-gh-pages" builds the doc site and pushes it upstream
to the gh-pages branch there.
Generation of html pages is now handled completely in
ClojureScript, loaded from "bin/gen-site.js".
Link handling is a bit simplified.
2014-11-29 18:30:24 +01:00
Dan Holmsand
d188be004e
Change links to point to reagent-project
2014-11-06 20:21:38 +01:00
Dan Holmsand
41a687faa7
Add import-react macro
2014-04-09 16:50:15 +02:00
Dan Holmsand
429ed50fab
Make demo code more Light Table-friendly
2014-04-01 19:50:28 +02:00
Dan Holmsand
f1bbd7d99e
Handle html5 history better
2014-01-27 22:30:42 +01:00
Dan Holmsand
969b63cd00
Add some copy
2014-01-22 08:40:04 +01:00
Dan Holmsand
97da42101a
Move all page handling to page.cljs
2014-01-21 11:50:08 +01:00
Dan Holmsand
f5c80e820e
Simplify link handling
2014-01-20 11:37:57 +01:00
Dan Holmsand
d0abe25adf
Factor out link handling to common.cljs
2014-01-20 09:42:16 +01:00
Dan Holmsand
446e05adec
Move page generation to ClojureScript
2014-01-19 12:13:19 +01:00
Dan Holmsand
ce9afb470c
Rename demoutil
2014-01-18 11:43:56 +01:00
Dan Holmsand
1d48785a42
Move intro into its own file
2014-01-18 11:31:43 +01:00
Dan Holmsand
81a1cbcaed
Common code for demo in common.cljs
2014-01-17 15:22:49 +01:00
Dan Holmsand
01e2cf9f45
Start refactoring demo, to allow for multiple pages
2014-01-17 12:35:40 +01:00
Dan Holmsand
8e542292a2
Cloact -> Reagent
2014-01-17 11:12:11 +01:00
Dan Holmsand
e6db667c05
too -> two
...
Thanks to mattsonlyattack!
2014-01-11 18:24:46 +01:00
Dan Holmsand
94cdfd6a2f
Move demo to separate directory
2014-01-10 11:49:36 +01:00