Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 354 Bytes

File metadata and controls

21 lines (15 loc) · 354 Bytes

Tools

This module provides a set of functions to build the interface generators used for reactive, readable and observable.

The injectProperties function

Example

var myobj = {}

injectProperties.call(myobj, {
	aNewMethod(){ /* do something */}
})

// myobj now have a non iterable 'aNewMethod' method
myobj.aNewMethod()