Skip to content

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

Open
@matjung

Description

@matjung

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;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Old SiteIssues for the old (currently deployed) site

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions