webcomponents / webcomponents/webcomponents.org

runkit: ReferenceError: HTMLElement is not defined in webcomponent 1.2.2

Open
#1,287 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.