Commit Graph

98 Commits (a907828f1274bce38b0f4b33561224af749199e6)

Author SHA1 Message Date
Sylvain Prat 3305f8f253 Fixed tests again
Sylvain Prat 645303e986 Improved/fixed some tests
Sylvain Prat d92dd1f0ce Removed forgotten console.log calls
Sylvain Prat 2f878813b1 Added a bunch of failing tests for thunks
paldepind d0a2f5176e Invoke event listener with several arguments in array
paldepind a6a814c9eb Snabbdom will always remove an element from its proper parent, even if the element has been changed
paldepind f72e48dc05 Do not invoke module `remove` hook for text nodes
paldepind 35de88b833 Replace element if it has a parent
paldepind 4c1893423a Add attachTo helper
paldepind 26a62cab4d Add postpatch hook
paldepind 7344b0aca5 Do not invoke `destroy` hook for text nodes
paldepind 24206f430a Add attachTo module
paldepind f1ee781962 Elements can be created with namespace
paldepind c67611f509 Non array event listeners can be replaced
paldepind 23344df6b8 Pass empty VNode to `create` hook set on element
paldepind 35335d6d64 Old vnode is passed to update hook
paldepind b4b90ac609 Fix bug regarding changed text nodes
paldepind cd7eb76a09 Insert created elements at correct location
Simon Friis Vindum 5fa91d590e Merge pull request from jails/master
Add failed spec when using mixed keyed & non-keyed virtual nodes.
paldepind 95de47368b Fix bug
Simon JAILLET dae70b9416 Failed spec with mixed key & non keys.
paldepind 529fdde299 Properly update event handler and value in array event listeners
paldepind 39926a9cfb New syntax for delayed style
paldepind 7edc91325d Remove `emptyVnodeAt` – patch instead accepts DOM node
paldepind 5ae0836f21 Render `vnode` property if defined
paldepind a2f0d27417 Add thunk
paldepind 1eb19f827e Add `patch`-hook, `update`-hook and short circuiting
paldepind f5d2b0f861 Add destroy hook directly on vnodes
paldepind 0d6ebaf2dc Add destroy hook
paldepind caea7088e5 Add `pre` and `post` global hooks
paldepind 64e76e7466 Allow several listeners to control element removal
paldepind d819a713f0 Move lifecycle hook to `hook` obj in `data`
paldepind 4c173570e3 Init returns patch function
paldepind c066feb080 Huge modularizing refactor
paldepind 1f5041df62 Tiny refactor
paldepind f3c71f921d Make sure next frame actually happens in next frame
paldepind c4931bf1af Add create event/hook
paldepind 157a159283 Fix selector classes overriding property classes
paldepind c5477e9d57 Call insert listener only after everything has been patched
paldepind c2b6e7c325 Revamp event listeners
paldepind 1c509cd653 Fix bug with properties being updated on text nodes
paldepind 92c41b9b9c Add insert and remove hooks/events
paldepind 1de8e0b9a8 Add and remove event listeners based on selectors
paldepind 46bbffe9e6 Tiny refactoring
paldepind 91a001e501 Refactoring
paldepind c6bea140d0 Improve performance for text-only elements
paldepind e3efdcb60d Improved reconciliation
paldepind fa3b5b39cf Initial commit