Bump to v4.1.0.

This commit is contained in:
John-David Dalton
2016-01-28 01:16:24 -08:00
parent 629caa8340
commit 7293d39642
435 changed files with 838 additions and 565 deletions

7
sum.js
View File

@@ -1,7 +1,4 @@
define(['./internal/baseSum', './identity'], function(baseSum, identity) {
/** Used as a safe reference for `undefined` in pre-ES5 environments. */
var undefined;
define(['./_baseSum', './identity'], function(baseSum, identity) {
/**
* Computes the sum of the values in `array`.
@@ -19,7 +16,7 @@ define(['./internal/baseSum', './identity'], function(baseSum, identity) {
function sum(array) {
return (array && array.length)
? baseSum(array, identity)
: undefined;
: 0;
}
return sum;