MCPcopy Create free account
hub / github.com/ReactJSResources/react-webpack-babel / mixin

Function mixin

public/bundle.js:1408–1413  ·  view source on GitHub ↗

* Mixin the emitter properties. * * @param {Object} obj * @return {Object} * @api private

(obj)

Source from the content-addressed store, hash-verified

1406 */
1407
1408 function mixin(obj) {
1409 for (var key in Emitter.prototype) {
1410 obj[key] = Emitter.prototype[key];
1411 }
1412 return obj;
1413 }
1414
1415 /**
1416 * Listen on the given `event` with `fn`.

Callers 1

EmitterFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected