Noj Vek
237c63b922
test: fix undefines
5 years ago
Noj Vek
5a730f9e93
test: deepStrictEqual
5 years ago
Noj Vek
fdab8ed6e0
chore: merge master
5 years ago
Shahar Dawn Or
d524860ad7
test: compare deep instead of JSON in assertions ( #531 )
5 years ago
Noj Vek
2fb42edeeb
feat(jsx): sel property
5 years ago
Shahar Dawn Or
693872cf73
test: workaround IE11 defficiencies ( #550 )
...
Fixes #471 .
5 years ago
Shahar Dawn Or
8055d395f5
chore(test): chai assert & karma-mocha-reporter ( #541 )
...
Closes #535 .
5 years ago
Shahar Dawn Or
814c2e50d7
style: four eslint rules enabled ( #548 )
...
- import/newline-after-import
- dot-notation
- import/first
- no-undef
5 years ago
zymfe
f98dcabfa9
chore: merge statement
5 years ago
Shahar Dawn Or
2dc536a394
test: strict assertions ( #529 )
5 years ago
Shahar Dawn Or
14d7e0af25
style: lint .tsx ( #530 )
...
Fixes #528 .
5 years ago
Shahar Dawn Or
6eacf72763
style: no-sequences, no-void, quote-props ( #527 )
5 years ago
Shahar Dawn Or
ad3745bfe8
style: single quotes ( #526 )
5 years ago
Shahar Dawn Or
431f95018e
fix: include JSX related module in package ( #524 )
...
Fixes #503 .
5 years ago
Shahar Dawn Or
a2342e6875
style: normalize whitespace ( #510 )
5 years ago
Shahar Dawn Or
b77cb512f4
refactor(tests): convert to TypeScript ( #508 )
...
Closes #293 .
Fixes #509 .
5 years ago
Noj Vek
f8774a96f5
comment
5 years ago
Noj Vek
0c7f9ddd16
jsx vnode child types
5 years ago
Noj Vek
69294d8cb6
nit
5 years ago
Noj Vek
5035aed23a
Merge branch 'master' of github.com:snabbdom/snabbdom into nojvek-h-tsx
5 years ago
Simon Friis Vindum
0881343e01
Update TypeScript, refactor
5 years ago
Noj Vek
7ff8d13b4e
snabbdom can be used with jsx/tsx via jsxFactory: jsx
5 years ago
Shahar Or (mightyiam)
dcdde2e869
style: @typescript-eslint/array-type
5 years ago
Shahar Or (mightyiam)
a907828f12
chore: editorconfig + checker
5 years ago
Jan van Brügge
f307db46e3
Fix element removal on transition end in Firefox70
6 years ago
octuplesakura
0a3bc6fdf4
refact: Small part of the grammar optimization
6 years ago
paldepind
425a6b2ded
Add comment documenting bug-fix
6 years ago
Simon Friis Vindum
3b04714e81
Merge pull request #409 from whitecolor/patch-3
...
Fix for #360 error in IE/Edge
6 years ago
Simon Friis Vindum
29b2829f16
Merge pull request #378 from kay999/master
...
Updated documentation for eventlisteners and fixed missing event/vnode for arrays of handlers
6 years ago
Alex
695da13ec5
Fix for #360 error in IE/Edge
...
Binding raf to window resolves the error.
6 years ago
Marius Muja
6a632c2872
Fix for patching node with text over node with children
6 years ago
Jan van Brügge
953a326757
Force page reflow before applying styles
7 years ago
Luiz Américo
93787151e2
Remove redundant is.array check in h
7 years ago
kay999
b9f2db2e60
Update eventlisteners.ts
7 years ago
Tobias Lidskog
d7a38d71b7
Refactor to remove function casting.
...
Casting the setAttribute and setAttributeNS functions at each call site make the code harder to read. Instead extract the new overloads for Element into a global declare statement.
This does not change the generated javascript code, just makes the typescript easier to read.
7 years ago
Frederique Mittelstaedt
584f2c5334
Fix for issue 361
7 years ago
K
fb04f628f3
Fixed missing domApi argument in recursive toVNode() call
7 years ago
Caridy Patiño
dbb4d2dae5
Merge pull request #351 from caridy/caridy/issue-348
...
fixes issue #348 : perf optimization during diffing algo to avoid calling addVNodes and removeVNodes when there is nothing to do
7 years ago
Caridy
b7f90368ee
fixes issue #348 : perf optimization during diffing algo to avoid calling addVNodes and removeVNodes when there is nothing to do.
7 years ago
Strider
17a6d312bb
h: allow VNodesSparse to accept single VNode, because underlying mechanism actually allows it.
8 years ago
Strider
806a5e7b30
h: reduce duplication, by bringing VNodes and VNodesSparse types.
8 years ago
Yarom Shoval
8b92071c69
Tiny type check in call to `vnode` at `h.ts`
8 years ago
Andre Staltz
d00ae793a6
Support DocumentFragment in toVNode
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
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
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
0601d7d94a
Fix style module logic when delayed field is optional
8 years ago