Commit graph

230 commits

Author SHA1 Message Date
Aaron Craelius
c4ef05347e Merge pull request #19 from ul/master
fix dom-node? for nil case
2014-11-23 12:35:15 -05:00
Ruslan Prokopchuk
674fac7d0e fix dom-node? for nil case 2014-11-23 10:04:01 +03:00
Aaron Craelius
cff3369c1b Merge branch 'master' of github.com:aaronc/freactive 2014-11-22 23:31:14 -05:00
Aaron Craelius
a82f97daa9 Fixed typo. 2014-11-22 23:31:05 -05:00
Aaron Craelius
002367e700 Merge pull request #17 from postspectacular/master
requestAnimationFrame polyfill
2014-11-22 15:37:07 -05:00
Karsten Schmidt
d6d20eaa97 update request-animation-frame, refactor raf-start-time as local binding 2014-11-22 14:20:52 +00:00
Karsten Schmidt
5f00b1c9d9 update request-animation-frame polyfill and add fallback fn 2014-11-22 14:12:01 +00:00
Aaron Craelius
6b7c658805 Merge branch 'master' of github.com:aaronc/freactive 2014-11-21 17:36:20 -05:00
Aaron Craelius
df32d5262e Update README 2014-11-21 17:36:15 -05:00
Aaron Craelius
6faf2b4efa Added :binding-invalidated lifecycle callback. 2014-11-21 17:34:33 -05:00
Aaron Craelius
96e741095b Merge pull request #15 from luxbock/master
Changed `rx-debug` to `debug-rx` as it's actually called.
2014-11-21 15:56:19 -05:00
Aaron Craelius
f1b0a51111 Swtiched to using identical? instead of = when triggering callbacks. 2014-11-21 15:32:23 -05:00
Olli Piepponen
9196f76579 Changed rx-debug to debug-rx as it's actually called. 2014-11-20 16:46:40 +07:00
Aaron Craelius
038ab94bc8 Fixed issue with unregistered parent state. 2014-11-19 19:56:40 -05:00
Aaron Craelius
25af87571e Fixed broken file. 2014-11-19 19:46:30 -05:00
Aaron Craelius
f716685577 Bug fix for nil attribute value, reintroduced reactive ID - I realize it is needed, started work on units namespace. Still not using diff'ing - the performance (even with a few tweaks is not great). 2014-11-19 19:38:15 -05:00
Aaron Craelius
0e7134a5d7 Refactored a lot of dom.cljs to support inserts properly, made ref transitions based on alter-meta! and added :binding-initialized and :binding-disposed callbacks. Played with the items view a little. 2014-11-19 00:35:39 -05:00
Aaron Craelius
cf678507b6 Moved state-machine to experimental, refactor dom-perf example to use core.async instead - it's a little more verbose for something simple like this, but it probably is much more robust in the long run. 2014-11-18 22:26:16 -05:00
Aaron Craelius
fed0f27a73 Merge branch 'master' of github.com:aaronc/freactive 2014-11-18 21:17:19 -05:00
Aaron Craelius
857998aea6 Added support for a :node-disposed callback to be attached to any DOM node and support for passing in DOM nodes themselves as virtual DOM. Some refactoring. 2014-11-18 21:16:56 -05:00
Aaron Craelius
857e192e48 Update README.md 2014-11-18 20:58:22 -05:00
Aaron Craelius
8b82bb96f0 Update README.md 2014-11-18 20:57:54 -05:00
Aaron Craelius
766c1b5efc Alternative replace-attrs impl - not sure if there's really any difference. 2014-11-18 20:26:48 -05:00
Aaron Craelius
e5f2e29076 Have working diff algorithm in this commit - but! in my tests in Firefox and Chrome, DOM replacing outperforms diff updating - maybe the algorithm can be optimized, but probably because I am using Clojure data structure as the virtual DOM, this causes a big hit and possibly also the fact that reactive computations need to be stopped. For now, diffing will stay off. 2014-11-18 20:07:27 -05:00
Aaron Craelius
67bd19267c Merge branch 'master' of github.com:aaronc/freactive
Conflicts:
	src/clojure/freactive/dom.cljs
2014-11-18 17:17:17 -05:00
Aaron Craelius
d0eba31705 More work on attr re-binding. 2014-11-18 17:15:55 -05:00
Aaron Craelius
427e178430 Merge pull request #14 from kocubinski/master
Resolve different attribute setters when binding elements.
2014-11-18 17:02:20 -05:00
Matt Kocubinski
21d42e9327 Resolve different attribute setters when binding elements. 2014-11-18 16:50:34 -05:00
Aaron Craelius
0a36257baf Removed non-judicious use of Clojure's = operator. 2014-11-18 16:36:25 -05:00
Aaron Craelius
9ed76bf24c Created set-attrs! - the basis of animate! and started work on replace-attrs! - the basis of DOM diffing. 2014-11-18 16:14:43 -05:00
Aaron Craelius
b4f78a4bef Aded proper xmlns support for elements (via binding *xml-namespaces*). Removed unnecessary cals to get-dom-node. 2014-11-18 15:56:30 -05:00
Aaron Craelius
8248706ce5 Added support for converting numbers, booleans and nils to virtual DOM as strings. Fixes #13. 2014-11-18 15:16:41 -05:00
Aaron Craelius
3c7b438f0e Merge branch 'master' of github.com:aaronc/freactive 2014-11-18 14:30:53 -05:00
Aaron Craelius
cf32524e43 Dramatically improved the performance of the dispose cycle by switching from Clojure to plain JS objects - even on Firefox it's acceptable now. Added optional dispose-callback to state. 2014-11-18 14:25:01 -05:00
Aaron Craelius
23135a2bbc Update README.md 2014-11-18 12:46:13 -05:00
Aaron Craelius
08893a0923 Update README.md 2014-11-18 12:41:27 -05:00
Aaron Craelius
ac2e99fd44 Have state-machine and state-machine based transitions somewhat working now - they're incorporated into the latest version of the example. 2014-11-18 00:46:44 -05:00
Aaron Craelius
b3ab816257 Merge branch 'master' of github.com:aaronc/freactive 2014-11-18 00:05:07 -05:00
Aaron Craelius
ce06a59265 Refactored transition support by decomplecting the lifecycle callbacks from data-state transitions. 2014-11-17 23:56:42 -05:00
Aaron Craelius
80c361f3c0 Update README.md 2014-11-17 23:29:00 -05:00
Aaron Craelius
6ea384df70 Experimental state-machine support. 2014-11-17 23:25:39 -05:00
Aaron Craelius
47808a2430 Update README.md 2014-11-17 22:06:07 -05:00
Aaron Craelius
793ea6ff2c Update README.md 2014-11-17 21:57:35 -05:00
Aaron Craelius
a508ef3781 Update README.md 2014-11-17 18:32:46 -05:00
Aaron Craelius
14709e6208 Update README.md 2014-11-17 18:31:21 -05:00
Aaron Craelius
cb89915709 Update README.md 2014-11-17 18:29:00 -05:00
Aaron Craelius
f5f21aa500 Update README.md 2014-11-17 17:11:56 -05:00
Aaron Craelius
5531c25ffe Update README.md 2014-11-17 17:08:55 -05:00
Aaron Craelius
1c23be3790 Update README.md 2014-11-17 17:07:39 -05:00
Aaron Craelius
5f06f1cf6b Update README.md 2014-11-17 16:59:04 -05:00