Skip to content

Releases: canjs/can-symbol

QUNIT2 upgrade

28 May 20:04
Compare
Choose a tag to compare

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

#36

using OUR Symbol polyfill in browsers that don't support Symbols even if other polyfills are loaded

Added docs for onEmit and offEmit Symbols

29 Nov 22:09
Compare
Choose a tag to compare

hasKey

18 Jan 18:27
Compare
Choose a tag to compare

onPatches offPatches

12 Dec 02:02
Compare
Choose a tag to compare

Documents the onPatches and offPatches symbols and what patch objects look like:

add patches signal that a key was added to an object.

{type: "add", key: "b", value: 1}

delete patches signal that a key was deleted from an object.

{type: "delete", key: "a"}

set patches signal that an existing key's value was set to another value.

{type: "set", key: "c", value: 2}

splice patches signal a list-like object had enumerable values added, removed
or both at a specific index.

{type: "splice", index: 0, deleteCount: 10, insert: [item1, item2]}

move patches signal a list-like object had an enumerable value move from one
position to another.

{type: "move",   fromIndex: 1, toIndex: 2}

values patches signal a container-like object (like Set) has
had items added or removed.

{type: "values", delete: [item0], insert: [item1, item2]}

Update docs with new @parent & @collection

01 Nov 18:17
Compare
Choose a tag to compare

can.assignDeep and can.updateDeep

23 Sep 03:32
Compare
Choose a tag to compare

From #15 adds docs for can.assignDeep and can.updateDeep.

can.size and can.updateValues

21 Sep 01:16
Compare
Choose a tag to compare

#14

Adds can.size and can.updateValues