Commit Graph

284 Commits (0fbcfd3278a80177e23190e131ff871a73acbbcd)
 

Author SHA1 Message Date
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
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
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
Oliver Joseph Ash fbfee2d620 Fix typo 9 years ago
Simon Friis Vindum e1af6270e9 Merge pull request #128 from squiddle/patch-2
fix style example in README.md
9 years ago
Christian S 3d48eb84c4 fix style example in README.md
fixes #127
9 years ago
Simon Friis Vindum c9d4dfc88f Merge pull request #122 from TylorS/typescript-definitions
chore(TS): add typescript definitions
9 years ago
Simon Friis Vindum 6c41430677 Merge pull request #102 from yyx990803/master
Return early in module update functions
9 years ago
Tylor Steinberger 2bf8926564 chore(TS): add typescript definitions 9 years ago
Simon Friis Vindum 0293fe2117 Merge pull request #119 from Risto-Stevcev/master
Added build system and standalone modules
9 years ago
Simon Friis Vindum d8150d2b6d Merge pull request #115 from grimalschi/patch-2
Extra variable in thunk.js
9 years ago
Risto Stevcev c3b5676d7f Added build system and standalone modules 9 years ago
paldepind f04de4acf9 Merge branch 'master' of https://github.com/paldepind/snabbdom 9 years ago
paldepind ac9c143555 Don't mention removed `vnode` property 9 years ago
paldepind 43c5d1ced9 Text formatting 9 years ago