mithril-vndb/api/tests
Isiah Meadows 90bcff0fa7
Deduplicate m.route and m.redraw logic (#2453)
- Remove appropriate route change subcriptions when a root is removed
  via `m.mount(root, null)`.
- Don't pollute `onpopstate` and friends - use standard event listeners
  instead.
- Simplify and streamline subscriptions, in preparation of adding a
  `remove` parameter to `m.mount`.
- Change the redraw internals to redraw immediately, with ability to
  cancel via returning a sentinel.
- Change `"bleeding-edge"` for `m.version` in `next` to instead just be
  the latest `m.version`. (If you're using `next`, you should know what
  you're in for.)
- Update tests to be aware of these changes. (Some were failing for
  subtle reasons.)
- Drive-by: remove some uses of `string.charAt(n)` and use `string[n]`
  instead.
2019-07-05 18:52:06 -04:00
..
index.html Correct test scripts 2017-12-30 04:44:00 -05:00
test-mount.js Merge pull request #1592 from pygy/async-redraw 2017-07-17 23:16:44 +02:00
test-redraw.js Deduplicate m.route and m.redraw logic (#2453) 2019-07-05 18:52:06 -04:00
test-router.js Deduplicate m.route and m.redraw logic (#2453) 2019-07-05 18:52:06 -04:00