Commit Graph

10 Commits (6d148e891cae5602dc557f39c836ad7e4490c8e9)

Author SHA1 Message Date
paldepind 88501771bd Remove backtics 9 years ago
André Staltz 394168f730 Fix safety check for requestAnimationFrame
Doing `window &&` does not achieve the expected behavior, it instead crashes with an error `ReferenceError: window is not defined`. This fix is simple and necessary for server-side rendering.
9 years ago
Garth Williams 0425b2e5ed Ensure that class, props and style artefacts are not left after re-render 9 years ago
chenxsan 7ba68b9a24 Fixed 'Uncaught ReferenceError'
When using snabbdom with webpack, the webpack output file is in strict mode, and that would cause error:

> Uncaught ReferenceError: requestAnimationFrame is not defined at ...

This pull request fixed it.
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 4b8409d8cb Add styles for destroy hook 10 years ago
paldepind 8420b6cd3d Update syntax for style on removal 10 years ago
paldepind 36377a5468 Style module supports element removal styles 10 years ago
paldepind c066feb080 Huge modularizing refactor 10 years ago