Commit Graph

128 Commits

Author SHA1 Message Date
Dan Holmsand 745cdf326c Fix history 2015-09-08 13:08:09 +02:00
Dan Holmsand d7cfb82dd3 Use html5 history 2015-09-08 09:35:55 +02:00
Dan Holmsand f5ad999593 Fix site generation 2015-09-08 08:52:10 +02:00
Dan Holmsand 0c89f3864e wip 2015-09-08 08:38:45 +02:00
Dan Holmsand 7224dd77df cleanup 2015-09-08 00:41:04 +02:00
Dan Holmsand 2596daaf3e wip 2015-09-08 00:29:06 +02:00
Dan Holmsand df464eda35 wip 2015-09-08 00:12:41 +02:00
Dan Holmsand b520dfd6be wip 2015-09-07 23:01:33 +02:00
Dan Holmsand d715a9568c wip 2015-09-07 22:22:26 +02:00
Dan Holmsand 6b9aeffadd Make tests run in node in debug mode as well
And simplify site generation
2015-08-20 09:54:15 +02:00
Dan Holmsand a979a36a92 Drop test for key warning
React will sometimes warn, even if we don't.

Also, small fix for async demo.
2015-08-19 10:14:02 +02:00
Dan Holmsand b2210c2bf3 atom -> r/atom everywhere else, for consistency 2015-07-31 15:13:27 +02:00
Dan Holmsand 7c2455f858 atom -> r/atom in all posts 2015-07-31 09:58:07 +02:00
Dan Holmsand 8abb75b95d atom -> r/atom in examples 2015-07-31 09:32:17 +02:00
Dan Holmsand 21cba678a1 atom -> r/atom in intro 2015-07-31 08:47:28 +02:00
Dan Holmsand 767410d8d8 Update clojurescript, figwheel and cljsbuild.
Stop using :figwheel-always, that seems to be broken in the new
figwheel.
2015-03-21 13:53:37 +01:00
Dan Holmsand e716850154 Fix bmi calculator strangeness in intro 2015-03-11 18:55:46 +01:00
Dan Holmsand d4a595e577 Describe new features since first alpha in news050.cljs 2015-03-11 17:51:35 +01:00
Dan Holmsand 73d0478607 Simplify setup of doc site and testing
Take advantage of figwheel 0.2.3
2015-02-10 18:20:48 +01:00
Dan Holmsand 163308a392 Make site and examples work with ClojureScript 2816
ClojureScript all of a sudden complains about "single segment
namespaces", which forces a rather massive reorg.

Also, cljs.test/run-tests is broken.
2015-02-10 14:35:12 +01:00
Dan Holmsand 4d559ef862 Move syntax highlighting to ClojureScript, to reduce code size a bit 2015-02-09 21:02:31 +01:00
Dan Holmsand 83fd1361df Remove bundled React
No longer needed, since we use cljsjs/react instead.

Also remove obsolete interop macros, and some general cleanup
2015-02-01 15:13:08 +01:00
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 34e5af0aea Fix async demo 2014-12-12 09:42:24 +01:00
Dan Holmsand 96f57a27b6 Fix site display on mobile 2014-12-11 09:01:25 +01:00
Dan Holmsand f4ec73e77d Add news item about new version 2014-12-10 12:02:47 +01:00
Dan Holmsand 2c2eb9960f Use figwheel 0.1.7 2014-12-09 07:43:32 +01:00
Dan Holmsand 59b2e6d6ee Cleanup and fix for ClojureScript 0.0-2411 2014-12-07 21:07:32 +01:00
Dan Holmsand 6e8a5178b3 Use new macro-based syntax highlighting 2014-12-07 19:26:20 +01:00
Dan Holmsand 7160a9f579 Experiment with syntax generation in macro 2014-12-07 16:38:56 +01:00
Dan Holmsand 2cfd616dd2 Tweak setup 2014-11-30 16:40:22 +01:00
Dan Holmsand a6cb21105a Tweak site-building
Allow files in outsite to be opened directly
2014-11-30 09:40:12 +01:00
Dan Holmsand 17375490fe Got site generation and tests working with advanced compilation 2014-11-29 23:26:42 +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 a074ac9825 Cleanup
Avoid compiler warnings, some commented code
2014-11-22 15:57:40 +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 11ce2bbe0d Add link to complete source 2014-02-26 14:17:02 +01:00
Dan Holmsand c39378bb79 Explain binary clock demo 2014-02-26 13:17:18 +01:00
Dan Holmsand b8ffbb8dd2 Tweak clock demo 2014-02-22 17:24:22 +01:00
Dan Holmsand af1d3e6d05 Started fiddling with clock demo 2014-02-22 12:36:34 +01:00
Dan Holmsand 18f8ae9d35 Revert scroll change in demo 2014-02-22 08:37:30 +01:00
Dan Holmsand 0457b2535e Avoid some warnings in demo 2014-02-22 08:21:21 +01:00
Dan Holmsand 0574a235ed Tweak docs a little. 2014-02-21 16:24:04 +01:00
Dan Holmsand d1d5d3c31e Handle page switching better on ios 2014-02-21 07:45:40 +01:00
Dan Holmsand b6c20ac863 Compare all maps passed to components the same way 2014-02-17 12:42:08 +01:00
Dan Holmsand 4c48271d26 Add more to news post, and prettify code blocks 2014-02-16 08:40:52 +01:00
Dan Holmsand ede45fcad2 Add news item for 0.4.0 2014-02-15 17:29:37 +01:00
Dan Holmsand 8f308a4fe3 Tweak examples to take advantage of arbitrary argument passing 2014-02-15 13:50:10 +01:00
Dan Holmsand 7792f493c0 Avoid duplicating :key in both wrapper and child 2014-02-12 07:16:55 +01:00
Dan Holmsand 12ee54b083 Allow "key" to be specified with meta-data
These are now equivalent
[foo {:key 1}] and
(with-meta [foo] {:key 1})
2014-02-11 20:56:48 +01:00
Dan Holmsand 953404b2cc Take advantage of anyargs in async demo 2014-02-11 13:58:50 +01:00
Dan Holmsand 805264ea61 Warn on deref in seqs instead of silently failing
Use warning to improve color palette demo
Fix page title
Move more code to util.cljs
2014-02-10 23:54:30 +01:00
Dan Holmsand 28c2acc923 Factor out undo-demo into its own namespace 2014-02-03 14:50:35 +01:00
Dan Holmsand 581cbf84be Update to ClojureScript 2156 2014-02-03 14:40:37 +01:00
Dan Holmsand 445f1da424 Only show summaries on news page 2014-02-03 10:27:17 +01:00
Dan Holmsand 1c702920bd Start writing copy about async rendering 2014-02-03 09:38:02 +01:00
Dan Holmsand 35bc336743 Add a little demo 2014-01-30 22:29:42 +01:00
Dan Holmsand 702f0c3238 Make testing demo a little easier 2014-01-29 11:53:45 +01:00
Dan Holmsand f1bbd7d99e Handle html5 history better 2014-01-27 22:30:42 +01:00
Dan Holmsand eb381f13bb Start experimenting with batched rendering with requestAnimationFrame 2014-01-27 13:37:59 +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 ebade509bf Add permalink support 2014-01-20 10:46:51 +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 0a0dbdee7d Add simple undo demo 2014-01-19 10:25:16 +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