don't add descriptor if we can't find it
This commit is contained in:
parent
dc6fc3b30a
commit
08183ef490
@ -1,5 +1,6 @@
|
||||
(function (target, key, descriptors) {
|
||||
var _descriptor = descriptors[key];
|
||||
if (!_descriptor) return;
|
||||
|
||||
// clone it
|
||||
var descriptor = {};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user