webcomponents / webcomponents/webcomponents.org
runkit: ReferenceError: HTMLElement is not defined in webcomponent 1.2.2
Open
Old Site
- Dominant language
- TypeScript
- Stars
- 385
- Forks
- 80
- PR merge metrics
- No merged PRs in 30d
Description
https://npm.runkit.com/webcomponent
Are you aware that runkit is having an issue with webcomponent?
ReferenceError: HTMLElement is not defined
var webcomponent = require("webcomponent")
// a language issue: https://phabricator.babeljs.io/T1548
if (typeof HTMLElement !== 'function') {
var _HTMLElement = function _HTMLElement() {};
_HTMLElement.prototype = HTMLElement.prototype;
HTMLElement = _HTMLElement;
}
Contributor guide
Assessment
This issue has not been assessed yet.