Bump to v4.16.0.

This commit is contained in:
John-David Dalton
2016-09-17 22:24:52 -07:00
parent fff78cbd5a
commit 0b9ddff408
102 changed files with 977 additions and 600 deletions

View File

@@ -60,14 +60,14 @@ define(['./_MapCache'], function(MapCache) {
return cache.get(key);
}
var result = func.apply(this, args);
memoized.cache = cache.set(key, result);
memoized.cache = cache.set(key, result) || cache;
return result;
};
memoized.cache = new (memoize.Cache || MapCache);
return memoized;
}
// Assign cache to `_.memoize`.
// Expose `MapCache`.
memoize.Cache = MapCache;
return memoize;