WebReflection / heresy-ssr

🔥 heresy 🔥 Server Side Rendering
ISC License
88 stars 1 forks source link

Typo in custom-elements.js #4

Closed dios-david closed 4 years ago

dios-david commented 5 years ago

In custom-elements.js both legacy and modern getters are using the modern attribute value by default:

  get legacy() {
    return this.getAttribute('modern') || '//unpkg.com/document-register-element';
  },
  get modern() {
    return this.getAttribute('modern') || '//unpkg.com/@ungap/custom-elements-builtin';
  }

So currently the legacy attribute value is never used.