MCPcopy Index your code
hub / github.com/keepfool/vue-tutorials / extend

Function extend

06.Router/basic/js/vue.js:249–256  ·  view source on GitHub ↗

* Mix properties into target object. * * @param {Object} to * @param {Object} from

(to, from)

Source from the content-addressed store, hash-verified

247 */
248
249 function extend(to, from) {
250 var keys = Object.keys(from);
251 var i = keys.length;
252 while (i--) {
253 to[keys[i]] = from[keys[i]];
254 }
255 return to;
256 }
257
258 /**
259 * Quick object check - this is primarily used to tell

Callers 6

mergeAssetsFunction · 0.70
vue.jsFile · 0.70
WatcherFunction · 0.70
installGlobalAPIFunction · 0.70
applyOverrideFunction · 0.70
vue-router.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected