|
|
@ -19,7 +19,9 @@
|
|
|
|
.split('.')
|
|
|
|
.split('.')
|
|
|
|
.reduce(
|
|
|
|
.reduce(
|
|
|
|
(value, method) =>
|
|
|
|
(value, method) =>
|
|
|
|
value && value instanceof Object && value.hasOwnProperty(method)
|
|
|
|
value &&
|
|
|
|
|
|
|
|
value instanceof Object &&
|
|
|
|
|
|
|
|
value.hasOwnProperty(method)
|
|
|
|
? value[method]
|
|
|
|
? value[method]
|
|
|
|
: undefined,
|
|
|
|
: undefined,
|
|
|
|
window
|
|
|
|
window
|
|
|
|