Skip to content

Latest commit

 

History

History
27 lines (16 loc) · 366 Bytes

Readme.md

File metadata and controls

27 lines (16 loc) · 366 Bytes

browser support

mixin

ES5 compatible mixin

Installation

$ component install kewah/mixin

API

var a = {
 foo: 'bar',
 toto: 'tata'
};

var b = {};

mixin(b, a);

assert(b.foo === 'bar');
assert(b.toto === 'tata');

License

MIT