Commit Graph

19 Commits (2df8d5865de82ccfe5620f56175c30cd6d9f6d57)

Author SHA1 Message Date
shanyue 60832ac91b
chore(tools): add npm run example (#982) 3 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 e2a8acab7d
chore(tools): add markdown and import plugin 4 years ago
Jan van Brügge 37f58835fa
chore(refactor): format code with prettier 4 years ago
gzg1023 7020652d1d
chore(examples): update examples (#923) 4 years ago
patomation 8111f6234a fix(examples): example import paths
fixes #761
5 years ago
Shahar Or (mightyiam) 8a71211b4a dx(typescript): package and tests are two projects 5 years ago
Shahar Or (mightyiam) dad44f0d63 feat: only esm and correct import paths
BREAKING CHANGE: CommonJS module are no longer provided.
BREAKING CHANGE: import paths in ES modules include file name
extensions.
BREAKING CHANGE: Compiled to ES2015 (was ES5).

Fixes #516.
Fixes #437.
Fixes #263. Kind of. Because there is no build step.

Thanks to @mreinstein on starting this work.
5 years ago
Shahar Or (mightyiam) d5bcb63f7b style: no unnecessary semicolons 5 years ago
Shahar Dawn Or a2342e6875
style: normalize whitespace (#510) 5 years ago
Shahar Or (mightyiam) a907828f12 chore: editorconfig + checker 5 years ago
Andre Staltz 091dc5f961
Migrate from CommonJS modules to ES2015 modules 8 years ago
Mike Montoya 0ca8703e78 Update hero example for new module updates 9 years ago
Mike Montoya d0ae6a1271 Fixed hero example to account for #container being overwritten. 9 years ago
paldepind a6a814c9eb Snabbdom will always remove an element from its proper parent, even if the element has been changed 10 years ago
paldepind 39926a9cfb New syntax for delayed style 10 years ago
paldepind 7edc91325d Remove `emptyVnodeAt` – patch instead accepts DOM node 10 years ago
paldepind 260afd8a79 Improve hero example for phones 10 years ago
paldepind 4799cb43e9 Rename hero example 10 years ago