From 88242ccf5a6871cd6b394df72d4f80778f89cb91 Mon Sep 17 00:00:00 2001 From: snuggs Date: Thu, 31 Dec 2020 22:25:46 -0500 Subject: [PATCH] :muscle: bump TRANSPILED distribution dist/snuggsi.js --- dist/snuggsi.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dist/snuggsi.js b/dist/snuggsi.js index 629d4f9a1e..8219def61e 100644 --- a/dist/snuggsi.js +++ b/dist/snuggsi.js @@ -658,7 +658,7 @@ var Custom = function (Element) { return ( /*@__PURE__*/(function (superclass) { // http://2ality.com/2013/09/window.html // http://tobyho.com/2013/03/13/window-prop-vs-global-var -var Element = function () { +var Element = function (tag) { return ( // const constructor =// swizzle // typeof tag === 'string' @@ -669,11 +669,11 @@ var Element = function () { // https://github.com/w3c/webcomponents/issues/587#issuecomment-271031208 // https://github.com/w3c/webcomponents/issues/587#issuecomment-254017839 - !function(Element) { return customElements.define + function (Element) { return customElements.define ( tag + '', Custom (Element) ); } // Assign `window.Element.prototype` in case of feature checking on `Element` // E.prototype = Element.prototype // return E -} +); }