Bump to v4.14.0.

This commit is contained in:
John-David Dalton
2016-07-24 09:52:04 -07:00
parent 2ab869e88a
commit edb45df54b
219 changed files with 1852 additions and 1345 deletions

View File

@@ -35,8 +35,9 @@ define(['./_baseClamp', './_baseToString', './toInteger', './toString'], functio
? length
: baseClamp(toInteger(position), 0, length);
var end = position;
position -= target.length;
return position >= 0 && string.indexOf(target, position) == position;
return position >= 0 && string.slice(position, end) == target;
}
return endsWith;