Skip to content

Commit

Permalink
Merge 1c71a82 into f24a441
Browse files Browse the repository at this point in the history
  • Loading branch information
franktopel committed Nov 2, 2018
2 parents f24a441 + 1c71a82 commit 966783a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Expand Up @@ -52,14 +52,14 @@ const HTMLParsedElement = (() => {
}
}
},
[name]: {
[name || 'parsed']: {
configurable: true,
get() {
const value = init.has(this) ?
(init.get(this) === true) :
isParsed(this);
if (value)
Object.defineProperty(this, name, {value});
Object.defineProperty(this, name || 'parsed', {value});
return value;
}
}
Expand Down

0 comments on commit 966783a

Please sign in to comment.