Bump to v4.10.0.

This commit is contained in:
John-David Dalton
2016-04-10 22:53:08 -07:00
parent 57f1942947
commit 76b289fe6e
52 changed files with 308 additions and 291 deletions

View File

@@ -1,4 +1,4 @@
define(['./_arrayMap', './_baseCastKey', './_copyArray', './isArray', './isSymbol', './_stringToPath'], function(arrayMap, baseCastKey, copyArray, isArray, isSymbol, stringToPath) {
define(['./_arrayMap', './_copyArray', './isArray', './isSymbol', './_stringToPath', './_toKey'], function(arrayMap, copyArray, isArray, isSymbol, stringToPath, toKey) {
/**
* Converts `value` to a property path array.
@@ -28,7 +28,7 @@ define(['./_arrayMap', './_baseCastKey', './_copyArray', './isArray', './isSymbo
*/
function toPath(value) {
if (isArray(value)) {
return arrayMap(value, baseCastKey);
return arrayMap(value, toKey);
}
return isSymbol(value) ? [value] : copyArray(stringToPath(value));
}