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

15
_baseCastPath.js Normal file
View File

@@ -0,0 +1,15 @@
define(['./isArray', './_stringToPath'], function(isArray, stringToPath) {
/**
* Casts `value` to a path array if it's not one.
*
* @private
* @param {*} value The value to inspect.
* @returns {Array} Returns the cast property path array.
*/
function baseCastPath(value) {
return isArray(value) ? value : stringToPath(value);
}
return baseCastPath;
});