Bump to v3.8.0.

This commit is contained in:
jdalton
2015-04-19 09:18:54 -07:00
parent 863bb301bb
commit 53c14e5b9b
58 changed files with 538 additions and 405 deletions

View File

@@ -21,9 +21,9 @@ function baseGet(object, path, pathKey) {
length = path.length;
while (object != null && ++index < length) {
var result = object = object[path[index]];
object = object[path[index]];
}
return result;
return (index && index == length) ? object : undefined;
}
module.exports = baseGet;