Commit Graph

906 Commits (919b9288c826f0441f79505cd19ac0590b49588c)
 

Author SHA1 Message Date
kyle 919b9288c8 Update README-zh_CN.md 3 years ago
kyle 23b4e31900 add link 3 years ago
kyle 78a9ebb011 delete original text 3 years ago
kyle 14fcfdb936 add table of contents 3 years ago
kyle 8ff9fb2bb8 Update README-zh_CN.md 3 years ago
kyle 05582af668 Update README-zh_CN.md 3 years ago
kyle 38227f0765 Update README-zh_CN.md3 3 years ago
kyle 1eaaba6e0f Update README-zh_CN.md 3 years ago
Censwin 7e952375b2
Update README-zh_CN.md 3 years ago
kyle 19bfe599a7 update 3 years ago
kyle 6ec4fe742c create file README-zh_CN.md 3 years ago
Jan van Brügge ce95a24e73
chore(release): v3.2.0 3 years ago
Jan van Brügge df0f031255
fix: assert that fragment functions are implemented 3 years ago
cary 044dfef8c3
chore(refactor): make patching child vnode more readable (#992)
Co-authored-by: wangzhangsheng(cary) <wb-wzs728893@alibaba-inc.com>
3 years ago
Ryota Kameoka 9e2cecd249
chore(docs): add a documentation for `fragment` function 3 years ago
Ryota Kameoka 35058798ae
feat: allow DocumentFragment as a container 3 years ago
Ryota Kameoka 7e86386292
feat: support DocumentFragment
Snabbdom now can handle `DocumentFragment` via `fragment` function.
https://developer.mozilla.org/docs/Web/API/DocumentFragment

ISSUES CLOSED: #560
3 years ago
Toby Mao e54012e811
chore(docs): remove outdated note about eventlisteners from README
This functionality was always unnecessary, because the example could be done with a curried function for example:
```js
function makeEventListener(number) {
    return (event) => console.log("button " + number + " was clicked!");
}
```

ISSUES FIXED: #988
3 years ago
dependabot[bot] 621bbc54cd
chore(deps): bump path-parse from 1.0.6 to 1.0.7 (#986) 4 years ago
Jan van Brügge 6696e627df
chore(deps): update dev dependencies 4 years ago
shanyue 60832ac91b
chore(tools): add npm run example (#982) 4 years ago
Jan van Brügge b22e46a9a9
chore(release): v3.1.0 4 years ago
Jan van Brügge 5a5cce2161
chore(test): fix tests for string object children (#983) 4 years ago
Toby Mao 19d1d29260
feat: allow String and Number objects to be used as children (#979)
ISSUES FIXED: #977
4 years ago
shanyue 79457fdf14
chore(refactor): simplify init() code using "for of" (#980) 4 years ago
Jan van Brügge 27e9c4d5dc
chore(release): v3.0.3 4 years ago
Jan van Brügge b8707ad68e
fix: build and test code before release 4 years ago
Jan van Brügge ca33a03142
chore(release): v3.0.2 4 years ago
Jan van Brügge 9e7db265ee
chore(deps): update dev dependencies (#968) 4 years ago
George Treviranus ecc87ab07e
chore(docs): add additional JSX usage information (#967) 4 years ago
Mike Reinstein 95fa8ad6b6
fix: avoid className check to handle SVG elements within shadow DOM (#966)
ISSUES FIXED: #965
4 years ago
Jan van Brügge 7c93d793f9
chore(deps): update dev dependencies (#962) 4 years ago
Jan van Brügge 310bd757c7
chore(docs): explain that the repo uses conventional commits
This adds a new section to CONTRIBUTING.md that explains that we are
using conventional commits and that commithelper can be used to create
valid commit messages
4 years ago
Jan van Brügge 66d08e4861
chore(tools): do not use npm exec in git hooks
`npm exec` was added in npm version 7, so users of older versions of
npm will get a very weird error and are not able to commit
4 years ago
Jan van Brügge 714f4ad770
chore(tools): enable the use of secrets on PRs from forks
The only secret that is configured is the access key for browserstack.
The worst case of getting it extracted is that someone can run tests on
browserstack with our account. The snabbdombot user has no admin
privileges, so in that case we can just issue a new access key
4 years ago
Jan van Brügge 014ad7e74d
chore(deps): update devDependencies (#956) 4 years ago
Jan van Brügge 255c87d1a9
chore(tools): lower browserstack concurrency 4 years ago
Jan van Brügge adbdf229d2
chore(release): v3.0.1 4 years ago
Jan van Brügge 995b983f04
fix: reference type declarations in package.json 4 years ago
Jan van Brügge a16b47e947
chore(release): v3.0.0 4 years ago
Jan van Brügge ad80c6ea53
feat: allow symbols as keys (#954)
ISSUES CLOSED: #124
4 years ago
Jan van Brügge 852401345e
feat: mark the snabbdom package as side effect free
This is useful for bundlers. When dealing with reexports, this setting
allows e.g. webpack to optimize reexports. See the webpack documentation
for more information about this setting
4 years ago
Jan van Brügge 30b7df61ab
fix: remove the hero module (#953)
The hero module is very specific and not really a good fit for a low
level library like snabbdom. Users that still want to use it can copy
the code from the hero example instead

ISSUES CLOSED: #517
BREAKING CHANGE:
Snabbdom does not export the hero module any more. If you require this
module, copy the code from examples/hero/hero.js and add it to your
project
4 years ago
Jan van Brügge e313d41b37
chore(tools): remove obsolete tsconfig.json
This was forgotten by #948
4 years ago
Jan van Brügge f2d49f1658
chore(deps): update devDependencies 4 years ago
Jan van Brügge e537a94ba3
chore(tools): run CI on pushes to the master branch 4 years ago
Jan van Brügge f3a088596e
chore(tools): new tooling (#948) 4 years ago
Jan van Brügge 96384b3cc0
chore(test): enable tests for old iPhone
Since disabling the tests the internals of snabbdom apparently changed
enough so this works again

ISSUES CLOSED: #470
4 years ago
Jan van Brügge fd2daaf259
chore(test): enable tests for old safari
3 tests are still failing for safari 9.1 at the moment. On safari 10.1
all the tests pass however. As El Captain is pretty old now, the tests
now run on Sierra. The current safari version is updated to 14

ISSUES CLOSED: #469
4 years ago
Jan van Brügge 17d116f19b
chore(test): enable tests again for old google chrome
Chrome 49 was disabled in the browserstack tests because of failing
tests. Trying those tests now again, only a single CSS variable test is
failing. As chrome 49 was the first chrome version to support css
variables it is very likely that this is a bug in the browser itself,
especially as chrome 50 works as expected. Thus this commits enables the
browserstack tests for chrome 50

ISSUES CLOSED: #468
4 years ago