MCPcopy
hub / github.com/mongodb/node-mongodb-native / _extend

Function _extend

docs/s/lib/zeroclipboard/ZeroClipboard.js:45–61  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

43 * @private
44 */
45 var _extend = function() {
46 var i, len, arg, prop, src, copy, args = _args(arguments), target = args[0] || {};
47 for (i = 1, len = args.length; i < len; i++) {
48 if ((arg = args[i]) != null) {
49 for (prop in arg) {
50 if (_hasOwn.call(arg, prop)) {
51 src = target[prop];
52 copy = arg[prop];
53 if (target !== copy && copy !== undefined) {
54 target[prop] = copy;
55 }
56 }
57 }
58 }
59 }
60 return target;
61 };
62 /**
63 * Return a deep copy of the source object or array.
64 *

Callers 12

_emitFunction · 0.70
_createEventFunction · 0.70
_addMouseDataFunction · 0.70
_dispatchCallbacksFunction · 0.70
_preprocessEventFunction · 0.70
_fireMouseEventFunction · 0.70
_embedSwfFunction · 0.70
_repositionFunction · 0.70
ZeroClipboard.jsFile · 0.70
_clientEmitFunction · 0.70
_clientDispatchCallbacksFunction · 0.70

Calls 1

_argsFunction · 0.70

Tested by

no test coverage detected