Commit Graph

212 Commits (87847257b539120cfd9c7b55065c355675503bde)
 

Author SHA1 Message Date
Tylor Steinberger 87847257b5 Merge branch 'virtual-node-documentation' of https://github.com/tylors/snabbdom into virtual-node-documentation 9 years ago
Tylor Steinberger cd6d0461d6 docs(README): fix typos pointe out by @foxdonut
Thank you @foxdonut
9 years ago
Tylor Steinberger b84b5e79b4 Merge pull request #1 from stevenmathews/patch-1
Fix typo - 'much' to 'must'
9 years ago
Steve 964317b63a Fix typo - 'much' to 'must' 9 years ago
Tylor Steinberger 967b3c7193 docs(README): fix h links 9 years ago
Tylor Steinberger e1837cb63f docs(README): adjust and add proper links 9 years ago
Tylor Steinberger f73a269c95 docs(README): fix links to vnode properties 9 years ago
Tylor Steinberger e8c373457a docs(README): add virtual node documentation
Add documentation for the structure and properties of a virtual
node used by snabbdom and created by h().
9 years ago
Simon Friis Vindum bbd8a4a980 Merge pull request #91 from hville/pr-dataset-module
Pr dataset module
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 3d2916a951 Version 0.4.2 9 years ago
paldepind 88501771bd Remove backtics 9 years ago
paldepind 8a5862a652 Version 0.4.1 9 years ago
Simon Friis Vindum f2130c761a Merge pull request #85 from staltz/patch-1
Fix safety check for requestAnimationFrame
9 years ago
André Staltz 394168f730 Fix safety check for requestAnimationFrame
Doing `window &&` does not achieve the expected behavior, it instead crashes with an error `ReferenceError: window is not defined`. This fix is simple and necessary for server-side rendering.
9 years ago
paldepind 946e34cf75 Version 0.4.0 9 years ago
paldepind fb80c1fd80 Keep DOM APIs of different `init` calls seperate 9 years ago
paldepind dc9b6467d3 Merge branch 'ptol-dom-api' 9 years ago
ptol 5cf759c42c dom api implementation 9 years ago
paldepind c49e5a1341 Version 0.3.4 9 years ago
Simon Friis Vindum 093f78ff82 Merge pull request #77 from kay999/patch-1
small cleanups
9 years ago
kay999 30dec98b34 small cleanups
This works fine for my use-cases. Also did some small-cleanups.
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
kay999 b55d8676ba remove-hook is now called after changing root-node 9 years ago
paldepind 716c7c82a7 Add SVG carousel example to readme 9 years ago
Simon Friis Vindum 72a5abad37 Merge pull request #70 from jkleiser/master
Added carousel example with README
9 years ago
paldepind 74fb8eaae7 Version 0.3.3 9 years ago
paldepind 7e93ca2a67 Add xyz 9 years ago
Simon Friis Vindum 3036e503a7 Merge pull request #71 from garth/input-value
Fix cursor jumping to the end of "controlled" inputs
9 years ago
Garth Williams daba67692e Fix cursor jumping to the end of "controlled" inputs
DOM `INPUT.value` should never be updated when it matches the new vnode.

This fixes issues where typing into an INPUT with a sync event handler
cause a render (such as for validation feedback) where setting
`INPUT.value` also pushes the cursor to the end of the input.
9 years ago
jkleiser 71cc36e532 Added a couple of lines to carousel README.md 9 years ago
jkleiser 7fb1af8dbc Added carousel example 9 years ago
Simon Friis Vindum 4881f725b9 Merge pull request #67 from jimf/fix-patch
Fix element node detection in patch
9 years ago
Simon Friis Vindum 1c0ce08e45 Merge pull request #68 from rayd/remove-single-text-nodes
Make sure we remove a single text node when patching it's parent element.
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
Jim Fitzpatrick 4b83fe8a95 Fix node detection in patch
`Element.ELEMENT_NODE` is non-standard and undefined in phantomjs.
Updating to use `Node.ELEMENT_NODE`.

References:
- MDN Element: https://developer.mozilla.org/en-US/docs/Web/API/Element
- MDN Node.nodeType: https://developer.mozilla.org/en-US/docs/Web/API/Node/nodeType
9 years ago
Simon Friis Vindum ab5d2d89e3 Release version 0.3.2 9 years ago
Simon Friis Vindum b578084efb Merge pull request #66 from rayd/patch-inside-iframe
Should be able to patch nodes created inside an iframe.
9 years ago
Ray Di Ciaccio 675c723f77 Change how we check for an Element to just look at the nodeType. 9 years ago
Ray Di Ciaccio 0addf72bda Add failing test for iframes. 9 years ago
paldepind 07db236c38 Fix accidental bullet 9 years ago
paldepind 8d02790895 Add section to readme on how to structure applications 9 years ago
paldepind 3d2247474a Readme fixes 9 years ago
Simon Friis Vindum 7639799aa7 Merge pull request #62 from jkleiser/jkleiser-patch-1
Update README.md
9 years ago
Jon Kleiser 6e474761bc Merge pull request #1 from jkleiser/jkleiser-patch-1
Update README.md
9 years ago
Jon Kleiser dd66f2e7c7 Update README.md
Several minor corrections. Added a few commas to make reading easier. Please review carefully, as my understanding of the matter is still not the best.
9 years ago
paldepind e68a750367 Document `init` hook 9 years ago