Bump to v3.10.0.

This commit is contained in:
John-David Dalton
2015-12-16 17:52:15 -08:00
parent 32393ae520
commit 75c633becb
121 changed files with 1504 additions and 1168 deletions

View File

@@ -1,4 +1,4 @@
define(['./SetCache', '../utility/constant', './getNative', './root'], function(SetCache, constant, getNative, root) {
define(['./SetCache', './getNative', './root'], function(SetCache, getNative, root) {
/** Native method references. */
var Set = getNative(root, 'Set');
@@ -13,9 +13,9 @@ define(['./SetCache', '../utility/constant', './getNative', './root'], function(
* @param {Array} [values] The values to cache.
* @returns {null|Object} Returns the new cache object if `Set` is supported, else `null`.
*/
var createCache = !(nativeCreate && Set) ? constant(null) : function(values) {
return new SetCache(values);
};
function createCache(values) {
return (nativeCreate && Set) ? new SetCache(values) : null;
}
return createCache;
});