MCPcopy
hub / github.com/wilsonpage/fastdom / mixin

Function mixin

fastdom.js:230–234  ·  view source on GitHub ↗

* Mixin own properties of source * object into the target. * * @param {Object} target * @param {Object} source

(target, source)

Source from the content-addressed store, hash-verified

228 * @param {Object} source
229 */
230function mixin(target, source) {
231 for (var key in source) {
232 if (source.hasOwnProperty(key)) target[key] = source[key];
233 }
234}
235
236// There should never be more than
237// one instance of `FastDom` in an app

Callers 1

fastdom.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…