Lines Matching defs:merge
92 @method merge
93 @param {Object} objects* One or more objects to merge.
96 Y.merge = function () {
136 @param {Boolean} [merge=false] If `true`, objects and arrays that already
143 Y.mix = function(receiver, supplier, overwrite, whitelist, mode, merge) {
159 whitelist, 0, merge);
178 // If `overwrite` is truthy and `merge` is falsy, then we can skip a
180 alwaysOverwrite = overwrite && !merge;
200 if (merge && exists && isObject(to[key], true)
202 // If we're in merge mode, and the key is present on both
204 // an array (but not a function), then we recurse to merge the
210 Y.mix(to[key], from[key], overwrite, null, 0, merge);
212 // We're not in merge mode, so we'll only copy the `from` value
234 if (merge && exists && isObject(to[key], true)
236 Y.mix(to[key], from[key], overwrite, null, 0, merge);
246 Y.mix(to, from, overwrite, Y.Object._forceEnum, mode, merge);