0.0.4 • Published 9 years ago

scoped-bindable-object v0.0.4

Weekly downloads
8
License
BSD-2-Clause
Repository
github
Last release
9 years ago

Subindable.js allows you to inherit properties from a parent bindable.Object. It's used in Mojo.js. Alt ci

var subindable = require("subindable");

var p = new subindable.Object({ name: "craig" }),
c     = new subindable.Object({}, p); // second param = parent


console.log(c.get("name")); // craig
p.set("name", "jake"));
console.log(c.get("name")); // jake
0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago