Commit Graph

799 Commits (974fb97458e949d3b210f450d941ffadf10aadf2)
 

Author SHA1 Message Date
Alexandre Galays fc47e2c9b1 Add package.json/module 8 years ago
paldepind e203f711c6 Version 0.7.0 8 years ago
paldepind c0a6e97ed1 Update dependencies 8 years ago
Simon Friis Vindum 0273fcf05b Merge pull request #320 from staltz/docfrag
Support DocumentFragment in toVNode()
8 years ago
Simon Friis Vindum d580e249cd Merge pull request #321 from ChangJoo-Park/master
Wrong example name "Reorder Animation" to "SVG"
8 years ago
ChangJoo Park 0ffc7a62b8 Wrong example name "Reorder Animation" to "SVG" 8 years ago
Andre Staltz d00ae793a6
Support DocumentFragment in toVNode 8 years ago
Simon Friis Vindum 8e189fa2f5 Merge pull request #318 from danigomez/master
Add badges
8 years ago
Daniel Gómez 0e0c7ab008 Add badges 8 years ago
Simon Friis Vindum 25d8625c73 Merge pull request #310 from JanKoehnlein/patch-1
Added sprotty to the client section
8 years ago
Simon Friis Vindum ecd2b1a38d Merge pull request #314 from caridy/caridy/boolean-attributes
fixes issue #306 and others: boolean attributes alignment with HTML
8 years ago
Simon Friis Vindum 0c3b47995d Merge pull request #313 from feliciousx-open-source/dataset-safari-fix
fix(dataset): check if property exist before deleting
8 years ago
Churchill Lee 16b14888b7
refactor(dataset): protect delete invocation only 8 years ago
Caridy 702a0af1e8 fixes issue #306 and others: boolean attributes alignment with HTML 8 years ago
Churchill Lee 06c9cfbb47
fix(dataset): check if property exist before deleting
in Safari, when it is `use strict`, if the dataset property is removed in DOM
deleting it again will cause an error

closes #309
8 years ago
Jan Köhnlein 038203dbd4 Update README.md 8 years ago
Simon Friis Vindum 7b45afea49 Merge pull request #289 from astroK8/master
PR for issue #262 (remove draggable of boolean attributes)
8 years ago
Yarom Shoval a5b93a7137 VNode key property can be undefined
Because actually it can be undefined:
4adbd971cb/src/vnode.ts (L44)
8 years ago
Andre Staltz f70581a428
Version 0.6.9 8 years ago
Andre Staltz 0601d7d94a
Fix style module logic when delayed field is optional 8 years ago
Jan van Brügge 836968509e style module: make delayed and remove property optional
PR #296
8 years ago
Andre Staltz f3a3c7b368
Version 0.6.8 8 years ago
Andre Staltz 4b4a34ad0f Fix toVNode() for comment nodes, lacking some fields
Comment nodes when converted to VNode were lacking vnode.data and
vnode.elm, which in turn would break use cases with modules such as the
style module (Which assumed vnode.data to be defined). Since toVNode is
used as an initial step (e.g. for server-side rendered content), there
is no reason to not provide vnode.elm since that vnode may be used as
the "prevVNode" during patch. Also, because comment vnodes have the '!'
sel, most logic in snabbdom that detects a truthy sel will also assume a
truthy data field. It is easier to build the comment vnode with those
fields than to modify all the logic elsewhere in snabbdom.
8 years ago
Simon Friis Vindum 72431c820e Merge pull request #292 from mightyiam/issue-291
fix #291
8 years ago
Shahar Or (mightyiam) f3354732bf fix #291 8 years ago
Simon Friis Vindum 8f75eb9aef Merge pull request #271 from mightyiam/type
type VNode props (fixes #264)
8 years ago
cesare soldini 1826bcd3c6 Bugfix: thunk function called two times
PR #273

* Separate test blocks with newlines
* Add a 🔴 failing test that highlights the bug, and some other more detailed tests on thunk renderings
* Fix the bug 
* Correctly gitignore files in base directory
The existing configuration was ignoring the same filenames in subdirectories, for example `test/thunk.js`
* Remove newlines between test blocks
* Make tests titles more explicative
8 years ago
aymeric f7aa66d865 PR for issue #262 (remove draggable for boolean attributes) 8 years ago
caesarsol f102bb7ccd Update and improve section "Using Classes in SVG Elements", taking #276 into account (fix SVG selector classes) 8 years ago
Thibault Duplessis c5d513dfd9 Update `h` signature; children nodes can now be undefined or null
Required now that #226 is implemented.
8 years ago
Shahar Or (mightyiam) 4adbd971cb improvements to VNodeData types 8 years ago
Shahar Or (mightyiam) 08650378be Merge branch 'master' into type 8 years ago
caesarsol c37321ca12 Use elm.setAttribute('class', ...) instead of elm.className = ... to make it work in SVGs 8 years ago
Steve Lee de8509e5c0 Remove trailing heading ###
De nit
8 years ago
Steve Lee 18343d1f92 Fix type-o 8 years ago
Steve Lee 741b382696 Added dataset module docs 8 years ago
Simon Friis Vindum 97b5dcb105 Merge pull request #272 from Reon90/patch-2
Add Tung to README
8 years ago
Reon90 33cc60b863 Add Tung to README 8 years ago
Shahar Or (mightyiam) 9dfa5d6f3c type VNode props (fixes #264) 8 years ago
André Staltz 250a5d7635 Merge pull request #269 from jvanbruegge/patch-1
Replace snabbdom-jsx with snabbdom-pragma
8 years ago
Jan van Brügge c7488d784f Replace snabbdom-jsx with snabbdom-pragma
fixes #248
As snabbdom-jsx and snabbdom-jsx-babel hadn't had an update in 7 to 8 month and expecially the former has several bugs I would not advertise to use them.
Snabbdom-pragma works more reliable and thanks to a few PRs by me it works just as good with svg as it does with html
8 years ago
Simon Friis Vindum 020835fa0b Merge pull request #267 from pmros/patch-1
Add Cyclow framework to README
8 years ago
Patricio M. Ros c117be989e Add Cyclow framework to README
Cyclow is a new reactive frontend framework for JavaScript I've created. It uses Snabbdom. Please, consider add it to "Structuring applications" section. Thank you.
8 years ago
Diego Ferreiro Val 4ede863df2 Performance improvement for attribute patching: (#257)
* Performance improvements for attribute patching:
- Avoid call to split and use a object lookup instead
- Simplify the code for `svg` name spaced attributes

* Fix typo and added missing property

* Fixing previous attribute ns assignment

* Refactor NS

* Add fast path for non namespaced elements

* Adding tests
8 years ago
paldepind 6f12fdc9dd Version 0.6.7 8 years ago
paldepind efb203ed21 Update bundle 8 years ago
paldepind dc837b70f9 Version 0.6.6 8 years ago
Simon Friis Vindum e923478dcd Merge pull request #255 from snabbdom/set-boolean-attributes-correctly
Set boolean attributes correctly according to spec
8 years ago
paldepind 511b29a6a6 Set boolean attributes correctly according to spec 8 years ago
Andre Staltz 9910df92b3
Version 0.6.5 8 years ago