Commit Graph

427 Commits

Author SHA1 Message Date
Dmitri Sotnikov 253624fdb3 bumped up cljs version in examples 2015-08-21 22:52:04 -04:00
Dan Holmsand b45f84fa71 Version 0.5.1-rc 2015-08-20 20:48:23 +02:00
Dan Holmsand 5be5ace95d Add to changelog 2015-08-20 15:08:26 +02:00
Dan Holmsand eed924311e Add force-update 2015-08-20 14:59:13 +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 5d24b9be65 Deprecate calling the result of create-class as a function
In the future, I'd like to make it possible to use Reagent classes
usable directly from React, in order to make interop easier.
2015-08-20 09:35:24 +02:00
Dan Holmsand bf1626b5d2 Simplify input creation a bit 2015-08-20 09:34:50 +02:00
Dan Holmsand 5bbba3e30a Make sure inputs don't lose focus
selectionStart/End should not be set on inputs that don't have focus
currently.
2015-08-19 10:50:53 +02:00
Dan Holmsand 6548e7ef76 Merge branch 'master' of https://github.com/holmsand/reagent 2015-08-19 10:17:17 +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 2293c88f10 Make sure site generation works with newer ClojureScript 2015-08-19 10:13:25 +02:00
Dan Holmsand e761294c81 Update React, ClojureScript and figheel versions 2015-08-19 10:12:11 +02:00
Walton Hoops c4abdff176 Merge pull request #172 from GetContented/patch-3
Change r/atom defs to defonce in readme
2015-08-18 20:03:44 -06:00
Walton Hoops 38a726e4b1 Merge pull request #126 from Day8/patch-79
Position cursor after an input's value has changed
2015-08-18 16:48:04 -06:00
JulianLeviston f1286baa97 Change r/atom defs to defonce
For better compatiblity with figwheel, change the two references that are def'd with r/atom values to be defonce so they persist through code updates.
2015-08-08 01:33:19 +10:00
Dan Holmsand 49da108355 Update and simplify geometry example 2015-07-31 17:51:33 +02:00
Dan Holmsand 76de698e56 Update and simplify todomvc example 2015-07-31 17:17:18 +02:00
Dan Holmsand 0de01ee420 Update and simplify simple example 2015-07-31 17:04:03 +02:00
Dan Holmsand 51048c7a7f Avoid unnecessary warning about missing :key
:key is not necessary in seqs in render-to-string et al.
2015-07-31 16:18:51 +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 3a93bd6a49 Merge pull request #164 from JulianLeviston/patch-1
Make references to atom explicit, not referred
2015-07-31 09:16:14 +02:00
Dan Holmsand 21cba678a1 atom -> r/atom in intro 2015-07-31 08:47:28 +02:00
Dan Holmsand 4cd8ab6dff Make extended hiccup syntax much faster
by taxing GC less
2015-07-31 08:20:18 +02:00
JulianLeviston 16bbb19bc0 Make references to atom explicit, not referred
After extensive discussion in https://github.com/reagent-project/reagent/issues/161 it appears a number of new people get confused by the use of the referred reagent atom. Changing this page (and other parts of the documentation) to use an aliased namespace directly without using a referred version of atom may decrease the number of confused people. This is largely an experiment to see if it helps. (It can't hurt!) :)
2015-07-31 16:18:17 +10:00
Dan Holmsand 2628edabf8 Add tests for extended hiccup syntax 2015-07-30 20:26:16 +02:00
Dan Holmsand f00ca03f70 Merge https://github.com/holmsand/reagent 2015-07-30 19:25:08 +02:00
Dan Holmsand 5e8b813963 Fix -swap! in ratom.cljs 2015-07-30 19:19:07 +02:00
Dmitri Sotnikov 3b8c7a18c7 Merge pull request #149 from hlship/142-extended-hiccup
142 extended hiccup
2015-07-18 10:47:36 -04:00
Dmitri Sotnikov b6e14b21f1 bumped up react version in the readme 2015-07-07 15:13:09 -04:00
Howard M. Lewis Ship 4d32b97ca6 Correct error in example in docstring 2015-06-25 11:44:09 -07:00
Howard M. Lewis Ship 4160fdfd35 Fix typo in docstring 2015-06-25 11:43:49 -07:00
Howard M. Lewis Ship 072043dba1 Use when rather than if
In this situation, only a keyword should be split on '>'; the other possibilities (string, symbol, native element) are not subject
to splitting into nested tags.
2015-06-25 11:42:18 -07:00
Howard M. Lewis Ship 91564be393 Add some examples of extended Hiccup to the README 2015-06-25 08:39:10 -07:00
Howard M. Lewis Ship 3d6c2f5e3f Implement nested Hiccup elements 2015-06-18 18:05:21 -07:00
Howard M. Lewis Ship 94e973c4cb Ignore some IntelliJ related stuff 2015-06-18 16:20:50 -07:00
Dmitri Sotnikov 32f1d9395d Merge pull request #128 from Hardikus/rest-destructuring
Fix destructuring for variable arity
2015-06-16 14:45:51 -04:00
Dmitri Sotnikov 855987247f Merge pull request #114 from martinklepsch/require-macros
require reagent.ratom macros in cljs namespace
2015-06-06 21:50:05 -04:00
Dan Holmsand 9bfd1a250b Update clojurescript 2015-06-02 11:02:46 +02:00
Dan Holmsand 2d6e74d477 Use :require-macros throughout 2015-05-31 11:57:16 +02:00
Dan Holmsand 569322949b Take advantage of new figwheel 2015-05-31 11:51:11 +02:00
Dan Holmsand 05bb63f254 Update React to 0.13.3-0, and more
Newer ClojureScript, figwheel, Clojure, cljsbuild
2015-05-29 10:50:23 +02:00
Dan Holmsand cdd3c851a0 Fix cursor bug
Cursor wasn't updated when changing both the cursor and an
underlying atom at once.
2015-05-25 21:31:43 +02:00
Hardik Bhadani ecc7a9c4c3 Fix destructuring for variable arity 2015-05-14 00:25:28 +05:30
mike-thompson-day8 6319a968ac Remove "number" and "email" from the list of input types supporting selection API 2015-05-12 09:04:22 +10:00
Yogthos ff10d23591 added codox 2015-05-11 12:36:11 -04:00
Dmitri Sotnikov 9375368c92 Merge pull request #106 from marco-fiset/patch-1
Remove recursive link in the readme
2015-05-11 12:31:33 -04:00
Dmitri Sotnikov 7020b55086 Merge pull request #122 from bmaddy/add-slider
adds a history slider to the geometry example app
2015-05-11 12:30:46 -04:00
mike-thompson-day8 985641d847 Make cursor position work for <textarea>s
It turns out that the type attribute of a <textarea> is always "textarea"
http://www.w3.org/TR/2012/WD-html5-20121025/the-textarea-element.html#dom-textarea-type
2015-05-11 17:30:00 +10:00