Commit Graph

61 Commits (c3b5676d7f84d9890a845ded3224fc971f19037b)

Author SHA1 Message Date
paldepind 1ce3cd30d5 Update thunk API and documentation 9 years ago
paldepind 7075aea1d1 New thunk implementation 9 years ago
hville 4ab41ba8d2 Completed tests and matched indendation to spaces 9 years ago
hville 5b164c780a new dataset Module and Test 9 years ago
paldepind a26db8fc5f Only invoke remove hook on root with parent element 9 years ago
paldepind ce14417216 Merge branch 'master' of https://github.com/kay999/snabbdom into replace-root 9 years ago
Ray Di Ciaccio ee00ffa21b When a vnode has 'text' property, remove the text node if vnode ispatched with children. 9 years ago
Ray Di Ciaccio 116950cd5b When a vnode has 'text' property, remove the text node if patched with no 'text'. 9 years ago
Ray Di Ciaccio 0addf72bda Add failing test for iframes. 9 years ago
Sylvain Prat 2279d3cade More tests: nested thunks does not work yet 9 years ago
Sylvain Prat 29eb18108c Repaired broken root init 9 years ago
Sylvain Prat 2341c26e26 Don't assume the root node won't be replaced 9 years ago
Garth Williams 0425b2e5ed Ensure that class, props and style artefacts are not left after re-render 9 years ago
Sylvain Prat 3305f8f253 Fixed tests again 9 years ago
Sylvain Prat 645303e986 Improved/fixed some tests 9 years ago
Sylvain Prat d92dd1f0ce Removed forgotten console.log calls 9 years ago
Sylvain Prat 2f878813b1 Added a bunch of failing tests for thunks 9 years ago
paldepind d0a2f5176e Invoke event listener with several arguments in array #13 10 years ago
paldepind a6a814c9eb Snabbdom will always remove an element from its proper parent, even if the element has been changed 10 years ago
paldepind f72e48dc05 Do not invoke module `remove` hook for text nodes 10 years ago
paldepind 35de88b833 Replace element if it has a parent 10 years ago
paldepind 4c1893423a Add attachTo helper 10 years ago
paldepind 26a62cab4d Add postpatch hook 10 years ago
paldepind 7344b0aca5 Do not invoke `destroy` hook for text nodes 10 years ago
paldepind 24206f430a Add attachTo module 10 years ago
paldepind f1ee781962 Elements can be created with namespace #4 10 years ago
paldepind c67611f509 Non array event listeners can be replaced 10 years ago
paldepind 23344df6b8 Pass empty VNode to `create` hook set on element 10 years ago
paldepind 35335d6d64 Old vnode is passed to update hook 10 years ago
paldepind b4b90ac609 Fix bug regarding changed text nodes 10 years ago
paldepind cd7eb76a09 Insert created elements at correct location 10 years ago
Simon Friis Vindum 5fa91d590e Merge pull request #2 from jails/master
Add failed spec when using mixed keyed & non-keyed virtual nodes.
10 years ago
paldepind 95de47368b Fix bug 10 years ago
Simon JAILLET dae70b9416 Failed spec with mixed key & non keys. 10 years ago
paldepind 529fdde299 Properly update event handler and value in array event listeners 10 years ago
paldepind 39926a9cfb New syntax for delayed style 10 years ago
paldepind 7edc91325d Remove `emptyVnodeAt` – patch instead accepts DOM node 10 years ago
paldepind 5ae0836f21 Render `vnode` property if defined 10 years ago
paldepind a2f0d27417 Add thunk 10 years ago
paldepind 1eb19f827e Add `patch`-hook, `update`-hook and short circuiting 10 years ago
paldepind f5d2b0f861 Add destroy hook directly on vnodes 10 years ago
paldepind 0d6ebaf2dc Add destroy hook 10 years ago
paldepind caea7088e5 Add `pre` and `post` global hooks 10 years ago
paldepind 64e76e7466 Allow several listeners to control element removal 10 years ago
paldepind d819a713f0 Move lifecycle hook to `hook` obj in `data` 10 years ago
paldepind 4c173570e3 Init returns patch function 10 years ago
paldepind c066feb080 Huge modularizing refactor 10 years ago
paldepind 1f5041df62 Tiny refactor 10 years ago
paldepind f3c71f921d Make sure next frame actually happens in next frame 10 years ago
paldepind c4931bf1af Add create event/hook 10 years ago