Commit Graph

558 Commits (237c63b9226f7db8681e3c680a99ba9006ae8164)
 

Author SHA1 Message Date
Simon Friis Vindum 24b867d155 Merge pull request #326 from AlexGalays/master
Add package.json/module
7 years ago
Strider 17a6d312bb h: allow VNodesSparse to accept single VNode, because underlying mechanism actually allows it. 7 years ago
Strider 806a5e7b30 h: reduce duplication, by bringing VNodes and VNodesSparse types. 7 years ago
Simon Friis Vindum 56577183e2 Merge pull request #336 from graforlock/master
Added a missing snabbdom/tovnode piece of documentation
7 years ago
Maciej Sitko c8b8d58490 Update README.md 7 years ago
Maciej Sitko b8fcaf99a9 Update README.md 7 years ago
Yarom Shoval 8b92071c69 Tiny type check in call to `vnode` at `h.ts` 8 years ago
Simon Friis Vindum 4ea189eb8a Merge pull request #331 from answershuto/master
README: Fix capitalization for 'JavaScript'
8 years ago
answershuto edf349dc59 README: Fix capitalization for 'JavaScript' 8 years ago
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