Commit graph

253 commits

Author SHA1 Message Date
Aaron Craelius
1e1922c146 Update README.md 2014-12-17 21:48:41 -05:00
Aaron Craelius
94137ccf4a Removed all but the most basic easing functions and will recommend people use an external lib such as bardo 2014-12-17 21:37:40 -05:00
Aaron Craelius
0b6bf58f94 Disabled diffing by default before pushing snapshot to Clojars. 2014-12-12 20:17:12 -05:00
Aaron Craelius
1244351e82 Use a RegExp directly as in clojure.string for replacing periods with spaces. 2014-12-09 18:19:45 -05:00
Aaron Craelius
5c0d8e8e29 Merge pull request #26 from philjackson/master
Make sure more than two chained classes are translated.
2014-12-09 18:16:00 -05:00
Phil Jackson
b303840899 Make sure more than two chained classes are translated.
The interop .replace will only replace the first instance of
needle. Using clojure.string/replace will swap out all instances of
needle and thus allow more than two chained classes.
2014-12-06 20:21:28 +00:00
Aaron Craelius
35e2fadab1 nil attr-value will cause removeAttribute to be called. 2014-11-28 14:48:46 -05:00
Aaron Craelius
7b552e01a4 Fix for issue with try-diff-subseq. 2014-11-28 14:19:01 -05:00
Aaron Craelius
2c8eae3517 Fix for rebinding style properties. 2014-11-27 15:35:30 -05:00
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