Merge pull request #5688 from eltociear/patch-1

Fix typo in dom-module.js
This commit is contained in:
Kevin Schaaf
2021-05-26 09:20:59 -07:00
committed by GitHub

View File

@@ -126,7 +126,7 @@ export class DomModule extends HTMLElement {
// Don't override existing assetpath.
if (!this.__assetpath) {
// note: assetpath set via an attribute must be relative to this
// element's location; accomodate polyfilled HTMLImports
// element's location; accommodate polyfilled HTMLImports
const owner = window.HTMLImports && HTMLImports.importForElement ?
HTMLImports.importForElement(this) || document : this.ownerDocument;
const url = resolveUrl(