Bump to v4.4.0.

This commit is contained in:
John-David Dalton
2016-02-15 20:20:54 -08:00
parent 3514f50902
commit ce259221bd
106 changed files with 781 additions and 440 deletions

View File

@@ -37,7 +37,9 @@ define(['./_charsEndIndex', './_stringToArray', './toString'], function(charsEnd
return string;
}
var strSymbols = stringToArray(string);
return strSymbols.slice(0, charsEndIndex(strSymbols, stringToArray(chars)) + 1).join('');
return strSymbols
.slice(0, charsEndIndex(strSymbols, stringToArray(chars)) + 1)
.join('');
}
return trimEnd;