Releases: canjs/can-view-live
Releases · canjs/can-view-live
Rebind listeners for reconnected live elements
Moving DOM nodes around in the document should not cause live binding to cease completely. This PR restores live binding when a placeholder node is reconnected to the document.
See #156 for more.
Use the DOM queue for all DOM updates
Previously, some DOM updates happened on the notify queue, others on the dom queue, yet others (list removal) immediately. This caused bugs and made live updates harder to reason about.
With this PR, all updates in can-view-live are queued on the dom queue and therefore updated in DOM order, whether they are html, text, list, or attribute updates.
See #155 for more.
Add docs in the main file
This puts back the package documentation to the main file.
removal of nodeLists
This removes nodeLists from can-view-live as they are deprecated as an API in CanJS.
QUNIT2 upgrade
This updates the tests to use QUnit@2.x.x.
Handle tearing down an undefined list
IE 11 Compatibility
- Fix usage
ChildNode.remove
in tests - Fix usage of
HTMLDocument.contains
andHTMLDocument.ownerDocument