Skip to content

Releases: canjs/can-simple-dom

Allow a Node to report that it contains itself

14 Jan 18:43
Compare
Choose a tag to compare

Makes node.contains(node) returns true

#99

Add Compare document position

06 Aug 14:24
Compare
Choose a tag to compare

QUNIT2 upgrade

28 May 19:50
Compare
Choose a tag to compare

This updates the tests to use QUnit@2.x.x.

#92

Makes hrefs appear through innerHTML

27 Dec 13:24
Compare
Choose a tag to compare

Fix: Element.className updates on Element.setAttribute change

28 Dec 18:51
Compare
Choose a tag to compare

Fix: Element.className updates on Element.removeAttribute("class")

28 Dec 18:51
Compare
Choose a tag to compare

I node the rules

03 Nov 15:28
Compare
Choose a tag to compare

This release has two fixes:

  • Node.prototype.contains. This used to be on the Element, but any Node has contains.
  • Deduplication of event handlers. If the same listener isaddEventListener'd multiple times it should only be added once.

Updated docs, added cycle detection, and fixed a bug

02 Nov 18:12
Compare
Choose a tag to compare
  • Add a cycle detection script to test process #77
  • Hide docs that can’t show up in the navigation #79
  • Lift contains method into Node #80

v1.3.0...v1.3.1

Add textContent

04 Oct 12:31
Compare
Choose a tag to compare

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.

Add no-op CSSStyleDeclaration.getPropertyValue method

07 Aug 15:42
Compare
Choose a tag to compare