Lines Matching refs:key
27 string `[object Object]` when used as a cache key.
43 var key = arguments.length > 1 ?
47 if (!(key in cache) || (refetch && cache[key] == refetch)) {
48 cache[key] = source.apply(source, arguments);
51 return cache[key];
144 var alwaysOverwrite, exists, from, i, key, len, to;
184 key = whitelist[i];
191 if (!hasOwn.call(from, key)) {
195 // The `key in to` check here is (sadly) intentional for backwards
198 exists = alwaysOverwrite ? false : key in to;
200 if (merge && exists && isObject(to[key], true)
201 && isObject(from[key], true)) {
202 // If we're in merge mode, and the key is present on both
210 Y.mix(to[key], from[key], overwrite, null, 0, merge);
214 // current key doesn't exist on the `to` object.
215 to[key] = from[key];
219 for (key in from) {
225 if (!hasOwn.call(from, key)) {
229 // The `key in to` check here is (sadly) intentional for backwards
232 exists = alwaysOverwrite ? false : key in to;
234 if (merge && exists && isObject(to[key], true)
235 && isObject(from[key], true)) {
236 Y.mix(to[key], from[key], overwrite, null, 0, merge);
238 to[key] = from[key];