kay999
cebc630487
eventlisteners works if a listener is removed
...
In the current version, a event-listener is never removed, which leads to problems in certain use cases. This patch fixes this.
9 years ago
Simon Friis Vindum
45bc0048f7
Merge pull request #107 from webOS101/patch-1
...
Some minor cleanup
9 years ago
Roy Sutton
f55d352de9
Some minor cleanup
...
Most references to vnode were all lowercase so I standardized on this. Fixed some small typos and made a few editorial adjustments. Feel free to take any, all or none of these suggestions (Though I do recommend the typo fixes)
9 years ago
Simon Friis Vindum
78f389795c
Merge pull request #88 from jryans/h-args
...
h: Test args for defined values instead of args.length
9 years ago
paldepind
fc3f493d38
Mention snabbdom-helpers in readme
9 years ago
Evan You
69a7c72d72
Return early in module update functions
9 years ago
Simon Friis Vindum
c2a6570e6a
Merge pull request #97 from paldepind/new-thunk
...
New thunk implementation
9 years ago
J. Ryan Stinnett
07a540615b
Test args for defined values instead of args.length
9 years ago
paldepind
7075aea1d1
New thunk implementation
9 years ago
Simon Friis Vindum
96c5fcd8ba
Merge pull request #96 from squiddle/patch-1
...
reference htmldomapi by module name
9 years ago
Christian S
5311071363
reference htmldomapi by module name
...
require call should follow convention, even though the node loader won't complain either way.
9 years ago
Simon Friis Vindum
88bd8eb3f0
Merge pull request #94 from TylorS/virtual-node-documentation
...
docs(README): add virtual node documentation
9 years ago
Tylor Steinberger
6d148e891c
doc(README): more typo fixes
9 years ago
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