Commit Graph

947 Commits (581543e8e2277ab3720fa58ad49765b7427a8d94)
 

Author SHA1 Message Date
Andre Staltz 499cd37b06
Migrate source code to TypeScript v2.0 8 years ago
Simon Friis Vindum 8079ba7868 Merge pull request #173 from jas-chen/jas-chen-patch-1
Fix thunk example
8 years ago
Simon Friis Vindum c2d397035c Merge pull request #120 from Risto-Stevcev/master
Added fully bundled version
8 years ago
Risto Stevcev f632a1f944 Updated distribution build 8 years ago
Risto Stevcev 6d03c1a11a Merge remote-tracking branch 'upstream/master' 8 years ago
Simon Friis Vindum 9b239929f9 Merge pull request #185 from AlexGalays/master
README: Add one more example in "Structuring application"
8 years ago
AlexGalays 8f30755a6a README: Add one more example in "Structuring application" 8 years ago
Simon Friis Vindum 7cdbff4e75 Merge pull request #178 from amirouche/amirouche/doc
add «snabbdom in the wild» section
8 years ago
Amirouche 685fb99755 Add `vue.js` and `scheme-todomvc` in “Structuring applications” 8 years ago
paldepind 0fbcfd3278 Version 0.5.4 8 years ago
Simon Friis Vindum fe7e82dd72 Merge pull request #180 from mkaemmerer/setAttributeNS
Support namespaced attributes
8 years ago
Matt Kaemmerer e1d93dca97 Defer splitting namespace until needed 8 years ago
Simon Friis Vindum ab34f7bb65 Merge pull request #179 from mightyiam/patch-1
Cycle.js instead of Motorcycle.js in README.md
8 years ago
Matt Kaemmerer 7399632795 Add test for namespaced attributes 8 years ago
Matt Kaemmerer 12bd7dd770 Call setAttributeNS instead of setAttribute for keys with a known namespace 8 years ago
Shahar Or 713fb5d559 Cycle.js instead of Motorcycle.js in README.md 8 years ago
Simon Friis Vindum 9a309df04f Merge pull request #161 from fix-fix/fix-boolean-attributes
Don't treat Object.prototype properties as boolean attributes
8 years ago
Simon Friis Vindum f6887733e7 Merge pull request #176 from LukaJCB/master
Updates distribution build
8 years ago
LukaJCB 463cf0304d Updates distribution 8 years ago
Jas Chen 77ef0b59c4 Fix thunk example 8 years ago
Simon Friis Vindum 51b29139d5 Merge pull request #171 from radarhere/master
Fixed typos
8 years ago
Andrew Murray 1b48d39e56 Fixed typos 8 years ago
Simon Friis Vindum be83096bac Merge pull request #165 from forceuser/patch-1
fixed links in README (paldepind -> snabbdom)
8 years ago
Vitaly Dub 453d982180 fixed links in README (paldepind -> snabbdom) 8 years ago
paldepind 3e3acfcc54 Version 0.5.3 9 years ago
Simon Friis Vindum 4475a6f325 Merge pull request #159 from staltz/master
Fix patch() so that the root is patched instead of recreated
9 years ago
fix-fix 95913ee3ca Don't treat Object.prototype properties as boolean attributes
Keep boolean properties in an object without prototype to prevent
false positive checks against attributes with the same name as Object.prototype
properties.
9 years ago
fix-fix 4fe2f5fedf Add tests for attributes module 9 years ago
fix-fix e68fb5884c Add test bundle to gitignore 9 years ago
Andre Staltz c091c59c59 Fix patch() so that the root is patched instead of recreated
Previously, patch(element, vnode) would create a new element every time
for the top-level element, unless the top-level vnode had no id and
className. This is because emptyNodeAt() would create a vnode with sel
equal to the element's tagName, NOT including id and className.

This seems to be just a small fix, however this fix was crucial to get
Web Components (custom elements) working with Cycle.js, because the
custom element's "create" callback was being called infinitely and
recursively, because snabbdom was creating the top-level element every
time, even if the sel of oldVNode and vnode were supposed to be the
same.
9 years ago
paldepind f178f91dfa Version 0.5.2 9 years ago
Simon Friis Vindum 45c622cf9b Merge pull request #146 from katyo/master
New implementation of eventlisteners module
9 years ago
K. 4139431794 Optimization invoking handler with multiple arguments. 9 years ago
K. cf4793c10a Removing 'elm changed' case. 9 years ago
Kayo Phoenix 174941c6a4 Added vnode as last argument to event handler 9 years ago
Kayo Phoenix 831bd0e1ee Optimizations for eventlistener.js 9 years ago
Simon Friis Vindum 3a30139bfa Merge pull request #134 from harrywincup/fix-test-running
Prevent test runner from continuously reloading
9 years ago
Simon Friis Vindum 561cc5921b Merge pull request #144 from sk1981/svg-documentation
Added details on using classes with SVG
9 years ago
K. 8ca33c916b New implementation of eventlisteners module 9 years ago
sk1981 40c62fd2be Added details on using classes with SVG
Using SVG elements with classes has two issues due to className being readonly for these elements and some browsers not accepting classlist on them. Added details and workaround.
9 years ago
Risto Stevcev e9e1bc4aed Renamed filenames with dashes instead of underscores, and set the snabbdom-patch as 'snabbdom' 9 years ago
Risto Stevcev 93cef57fb7 Renamed snabbdom_init to snabbdom and snabbdom to snabbdom_patch 9 years ago
paldepind fd539435f6 Version 0.5.1 9 years ago
Simon Friis Vindum 462498deca Merge pull request #135 from stucox/patch-1
Correct minor formatting mistake in README
9 years ago
Stu Cox 7a496fb61f Correct formatting in README 9 years ago
Harry Wincup aa6aee5ddf Move browserified tests file outside of watcher dir to prevent reloading loop 9 years ago
Simon Friis Vindum e202d11344 Merge pull request #133 from harrywincup/126-svg-foreignobject
126 svg foreignobject
9 years ago
Harry Wincup 68d878c274 Additional namespace tests for SVG foreignObject case 9 years ago
Harry Wincup 258c8b91da Dont add SVG namespace to children of SVG foreignObject 9 years ago
Simon Friis Vindum e15274c743 Merge pull request #131 from OliverJAsh/patch-1
Fix typo
9 years ago