Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

runkit: ReferenceError: HTMLElement is not defined in webcomponent 1.2.2 #1287

Open
matjung opened this issue Sep 16, 2020 · 0 comments
Open
Labels
Old Site Issues for the old (currently deployed) site

Comments

@matjung
Copy link

matjung commented Sep 16, 2020

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;
}
@justinfagnani justinfagnani added the Old Site Issues for the old (currently deployed) site label Sep 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Old Site Issues for the old (currently deployed) site
Projects
None yet
Development

No branches or pull requests

2 participants