We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a806dd4 commit 1a85717Copy full SHA for 1a85717
assets/resources/scriptlets.js
@@ -55,11 +55,16 @@
55
owner = owner[prop];
56
if ( owner instanceof Object === false ) { return; }
57
}
58
+ let value;
59
const desc = Object.getOwnPropertyDescriptor(owner, prop);
- if ( desc && desc.get !== undefined ) { return; }
60
+ if (
61
+ desc instanceof Object === false ||
62
+ desc.get instanceof Function === false
63
+ ) {
64
+ value = owner[prop];
65
+ }
66
const magic = String.fromCharCode(Date.now() % 26 + 97) +
67
Math.floor(Math.random() * 982451653 + 982451653).toString(36);
- let value = owner[prop];
68
const validate = function() {
69
const e = document.currentScript;
70
if (
0 commit comments