Skip to content

Releases: canjs/can-control

Fix a queued teardown crash with viewModel listeners

22 Jan 21:24
Compare
Choose a tag to compare

Running can-control teardowns from the dom queue (as can-view-live now does) causes control teardown and rebinding of action listeners to run out of order, which throws an error. This release prevents the error, and also delays teardown to the mutate queue if triggered from the dom queue.

See #143 for more

Move can-control to legacy

22 Jan 21:22
Compare
Choose a tag to compare
  • can-control is fully up-to-date with CanJS 6 but is now considered legacy code. There are no planned feature enhancements, and new development with CanJS should use stache bindings to bind DOM events

https://canjs.com/doc/can-stache-bindings.event.html

  • A can-control-backed element's events are now torn down on the nodeDisconnected mutation event, rather than on nodeRemoval.

Remove can-util

04 Sep 16:52
Compare
Choose a tag to compare

This removes can-util from tests.

#140

QUNIT2 upgrade

28 May 18:12
Compare
Choose a tag to compare

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

#135

Fix failure in environments with no documentElement

20 Nov 15:45
Compare
Choose a tag to compare

adds controls to `can.controls` symbol on element

16 Oct 17:19
Compare
Choose a tag to compare

#128

import canSymbol from "can-symbol";

element[canSymbol.for("can.controls")] //-> controls

v4.2.0

04 Jul 03:30
Compare
Choose a tag to compare
  • Add compatibility with how webpack builds for production #119
  • Add "use strict" #120

Added can-log depenency

13 Feb 15:52
Compare
Choose a tag to compare

Removing use of can-util/dom

30 Jan 19:13
Compare
Choose a tag to compare

In order to be compatible with canjs 4.0, this removes use of can-util/dom methods that use an older version of can-dom-data-state and cause dependency conflicts.

#108

v3.2.4

02 Dec 00:06
Compare
Choose a tag to compare

Make the can-stache-key semver range more permissive #98