Skip to content

Releases: canjs/can-define

hasKey and hasOwnKey support expando properties

01 Dec 21:00
Compare
Choose a tag to compare

Issue #412 - Makes the following work:

var a = new DefineMap({foo: undefined})
canReflect.hasKey(a,"foo") //-> true

Fix getSchema

30 Nov 01:58
Compare
Choose a tag to compare

Issue: #410 - Makes sure custom types are returned by canReflect.getSchema()

bindings do not create Observation Records

16 Nov 19:55
Compare
Choose a tag to compare

value and default work together

03 Oct 14:18
Compare
Choose a tag to compare

This makes default work with the value property behavior.

For example:

prop: {
  default: 21,
  value( {lastSet, resolve} ){
    resolve( lastSet.value );
  }
}

PR: #398

DefineMap will call overwritten prototype setup methods

28 Sep 16:18
Compare
Choose a tag to compare

Deleted props are still observable

25 Sep 16:12
Compare
Choose a tag to compare

Prevent defining computed properties on the prototype

13 Sep 19:10
Compare
Choose a tag to compare

This prevents setting a DefineMap's computed properties on the prototype, which causes binding issues. This fixes a regression that was introduced in 2.6.0.

Fixes enumerability of prototype properties for Safari

11 Sep 18:38
Compare
Choose a tag to compare

Observable on changes to enumerable properties via defineInstanceKey

10 Sep 12:08
Compare
Choose a tag to compare

Redeploying updated documentation

07 Sep 16:40
Compare
Choose a tag to compare

The last release didn't have the most up-to-date documentation, redeployed.