Andre Staltz
1b0163cb94
Fix modules/module file to be TypeScript source
...
In order for other TypeScript code to consume snabbdom's TypeScript
correctly, we must "export" the modules/module interface just like
we export other types.
8 years ago
Andre Staltz
3455d1dc21
Version 0.6.2
8 years ago
Andre Staltz
ef8b60993b
Fix hooks file to be TypeScript source
...
In order for other TypeScript code to consume snabbdom's TypeScript
correctly, we must "export" the hooks interfaces just like we export
other types.
8 years ago
Simon Friis Vindum
e76e06a28e
Merge pull request #221 from caridy/better-support-for-data-memoization
...
[perf-optimization] skip unnecessary work in modules when possible
8 years ago
Caridy
687db9f99b
[perf-optimization] skip unnecessary work in modules that can support memoization of the data structure consumed by them
8 years ago
paldepind
673e2a7e7b
Merge branch 'use-typeof'
8 years ago
paldepind
e570f4cf03
Version 0.6.1
8 years ago
paldepind
19b135b1f5
Add npmignore
8 years ago
paldepind
0483640fa3
Version 0.6.0
8 years ago
Simon Friis Vindum
7da866270a
Merge pull request #210 from aronallen/fix/ie11svg
...
use parentNode instead of parentElement
8 years ago
Aron Allen
d8bd32f1e5
updated description of test
8 years ago
Aron Allen
166b8eca23
added test
8 years ago
Aron Allen
fa88c0e888
removed all references to parentElement, changed to parentNode. updated types
8 years ago
Simon Friis Vindum
3bd0068156
Merge pull request #213 from tdumitrescu/svg-ns-fix
...
Fix Custom Element creation when tag name begins with 'svg'
8 years ago
teddddd
72cdb52e1d
Fix Custom Element creation when tag name begins with 'svg'
...
The check at https://github.com/snabbdom/snabbdom/blob/f79af828/src/h.ts#L37
is too loose, and ends up adding the svg namespace to elements with
tagNames such as svg-icon, which prevents web components lifecycle
callbacks from firing.
8 years ago
Simon Friis Vindum
5e2f6ec9b7
Merge pull request #208 from jbucaran/fix-svg
...
Check that children data !== undefined before calling addNS
8 years ago
Aron Allen
bec0d9ab80
use parentNode instead of parentElement
8 years ago
Jorge Bucaran
00b9224d85
Check that children data !== undefined before calling addNS
...
Otherwise svg is broken.
8 years ago
paldepind
27993fcadf
Typing for module hooks and `h` data
8 years ago
paldepind
9a21abafcb
Cast `elm` once
8 years ago
paldepind
dccd3d4800
Satisfy strict null checks
8 years ago
Simon Friis Vindum
f79af82881
Merge pull request #195 from jlesquembre/css-variables
...
Add support for css variables
8 years ago
paldepind
f552b0e8ed
Tweak types, reduce casting
8 years ago
José Luis Lafuente
ccbf30f0c6
Add support for css variables
8 years ago
Simon Friis Vindum
cd952ac52f
Merge pull request #188 from zhulongzheng/patch
...
Fix bug of updating one child with same key but different sel.
8 years ago
Alexandre Galays
5a5c0dc121
Allow h(sel, data, node) and h(sel, node) shortcut notations
8 years ago
zhulongzheng
8ffb4eb91a
Fix bug of updating one child with same key but different sel
8 years ago
Simon Friis Vindum
8286862fae
Merge pull request #193 from staltz/typescript-migration
...
Migrate source code to TypeScript v2.0
8 years ago
Andre Staltz
091dc5f961
Migrate from CommonJS modules to ES2015 modules
8 years ago
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