Skip to content

Maintenance release

Latest

Choose a tag to compare

@dotnetCarpenter dotnetCarpenter released this 19 Sep 04:12
· 1 commit to master since this release

Fixes bug #11 - Trait.create throws if prototype === null.

const o = Trait.create(
  null,
  Trait({ a:0, b:function(){ return this.a; } }));