Commit Graph

36 Commits (c67611f50965c069babfb7495b39fac4a23bfea9)

Author SHA1 Message Date
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
paldepind 95de47368b Fix bug
paldepind 052d51de00 Dont use `forEach`
paldepind 7edc91325d Remove `emptyVnodeAt` – patch instead accepts DOM node
paldepind 56d1b03fb3 Refactor hook initialization
paldepind 5ae0836f21 Render `vnode` property if defined
paldepind b66893f05f Add `init` hook
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 0010ed3967 Add support for delayed style setting
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 7ee4fe2446 Tiny refactoring
paldepind 1de8e0b9a8 Add and remove event listeners based on selectors
paldepind b662c6bd7e Merge branch 'patch-1' of https://github.com/aMarCruz/snabbdom into aMarCruz-patch-1
Alberto Martínez 63ffd53f5c Good work.
paldepind 46bbffe9e6 Tiny refactoring
paldepind 91a001e501 Refactoring
paldepind c6bea140d0 Improve performance for text-only elements
paldepind e3efdcb60d Improved reconciliation
paldepind fa3b5b39cf Initial commit