Releases: canjs/can-simple-dom
Releases · canjs/can-simple-dom
Allow a Node to report that it contains itself
Makes node.contains(node)
returns true
Add Compare document position
QUNIT2 upgrade
This updates the tests to use QUnit@2.x.x.
Makes hrefs appear through innerHTML
v1.6.1 1.6.1
Fix: Element.className updates on Element.setAttribute change
See #83 for changes.
Fix: Element.className updates on Element.removeAttribute("class")
See #82 for changes.
I node the rules
This release has two fixes:
Node.prototype.contains
. This used to be on the Element, but any Node hascontains
.- Deduplication of event handlers. If the same listener is
addEventListener
'd multiple times it should only be added once.
Updated docs, added cycle detection, and fixed a bug
Add textContent
1.3.0 updates can-simple-dom to support the textContent
as a getter/setter on the Element
prototype. This will create a TextNode as the only child node to the element.