MCPcopy Create free account
hub / github.com/keepfool/vue-tutorials / _assign

Function _assign

06.Router/basic/js/vue-resource.js:382–391  ·  view source on GitHub ↗
(target)

Source from the content-addressed store, hash-verified

380 }
381
382 function _assign(target) {
383
384 var args = array.slice.call(arguments, 1);
385
386 args.forEach(function (source) {
387 _merge(target, source);
388 });
389
390 return target;
391 }
392
393 function _merge(target, source, deep) {
394 for (var key in source) {

Callers

nothing calls this directly

Calls 1

_mergeFunction · 0.70

Tested by

no test coverage detected