Bump to v4.11.2.

This commit is contained in:
John-David Dalton
2016-04-19 22:17:16 -07:00
parent 29c408ee8a
commit ccdfca5392
86 changed files with 714 additions and 447 deletions

View File

@@ -1,4 +1,4 @@
define(['./_baseProperty', './_basePropertyDeep', './_isKey'], function(baseProperty, basePropertyDeep, isKey) {
define(['./_baseProperty', './_basePropertyDeep', './_isKey', './_toKey'], function(baseProperty, basePropertyDeep, isKey, toKey) {
/**
* Creates a function that returns the value at `path` of a given object.
@@ -23,7 +23,7 @@ define(['./_baseProperty', './_basePropertyDeep', './_isKey'], function(baseProp
* // => [1, 2]
*/
function property(path) {
return isKey(path) ? baseProperty(path) : basePropertyDeep(path);
return isKey(path) ? baseProperty(toKey(path)) : basePropertyDeep(path);
}
return property;