Aaron Craelius
|
03cf8e9826
|
Bug fix for issue with diffing child nodes.
|
2014-11-27 14:47:00 -05:00 |
|
Aaron Craelius
|
bb8de6dabb
|
Here is the actual fix intended in the last commit.
|
2014-11-27 14:05:04 -05:00 |
|
Aaron Craelius
|
fda4d337fd
|
Fix for disposing a ReactiveElement when it is detached from the tree (or moved) by some other method (say diffing).
|
2014-11-27 12:43:31 -05:00 |
|
Aaron Craelius
|
9211bc8955
|
Added identical? optimization to diffing.
|
2014-11-26 23:27:58 -05:00 |
|
Aaron Craelius
|
e76ded09dd
|
Storing tag & attrs directly in state now.
|
2014-11-26 23:08:23 -05:00 |
|
Aaron Craelius
|
8cc7bbb51f
|
Added :node-attached lifecycle callback to attributes... Is this the right place to put it??
|
2014-11-26 22:52:58 -05:00 |
|
Aaron Craelius
|
4ea32c0710
|
Made sure disposed-callback's are fired even when diffing.
|
2014-11-26 22:29:26 -05:00 |
|
Aaron Craelius
|
6dc592f59f
|
Added support for directly nested ReactiveElement's. Enable diffing for the brave and true...
|
2014-11-26 22:16:06 -05:00 |
|
Aaron Craelius
|
7cfced0678
|
Diff implementation appears to be working smoothly and correctly in my tests so far. Still disabled for now, but may turn switch soon.
|
2014-11-26 20:54:02 -05:00 |
|
Aaron Craelius
|
359f868fa4
|
Removed alter-meta! call from with-transitions - hiding something that does mutations in there isn't smart! Working on more correct attr replacement for diffing.
|
2014-11-26 19:18:03 -05:00 |
|
Aaron Craelius
|
772b238fc1
|
Fix for significant memory leak caused by not detaching node state from parent-state when disposing.
|
2014-11-26 19:17:10 -05:00 |
|
Aaron Craelius
|
8a43020a3e
|
Tweaked names of event handling functions.
|
2014-11-26 14:36:11 -05:00 |
|
Aaron Craelius
|
58eaefc146
|
Merge pull request #21 from ul/master
add goog.events as plugin
|
2014-11-26 14:29:00 -05:00 |
|
Ruslan Prokopchuk
|
56b07aded0
|
add goog.events as plugin
|
2014-11-24 08:57:55 +03:00 |
|
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 |
|