Bump to v4.4.0.

This commit is contained in:
John-David Dalton
2016-02-15 20:35:27 -08:00
parent e2aef0def9
commit 91d3468c81
115 changed files with 1019 additions and 654 deletions

View File

@@ -1,4 +1,4 @@
var baseToPath = require('./_baseToPath'),
var baseCastPath = require('./_baseCastPath'),
get = require('./get'),
isFunction = require('./isFunction'),
isKey = require('./_isKey'),
@@ -34,7 +34,7 @@ var baseToPath = require('./_baseToPath'),
*/
function result(object, path, defaultValue) {
if (!isKey(path, object)) {
path = baseToPath(path);
path = baseCastPath(path);
var result = get(object, path);
object = parent(object, path);
} else {