Skip to content

Commit

Permalink
fix missing dom-module in modulization
Browse files Browse the repository at this point in the history
  • Loading branch information
Elliott Marquez committed Apr 17, 2018
1 parent 12a650b commit 6c7c770
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/unit/sub/resolveurl-elements.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ customElements.define(PR.is, PR);

class PRImportMeta extends PolymerElement {
static get template() {
return DomModule.import('p-r', 'template').cloneNode(true);
return PR.template;
}
static get importMeta() {
// Idiomatically, this would be `return import.meta`, but for purposes
Expand All @@ -61,7 +61,7 @@ customElements.define('p-r-im', PRImportMeta);

const PRHybrid = Polymer({
is: 'p-r-hybrid',
_template: DomModule.import('p-r', 'template').cloneNode(true),
_template: PR.template,
// Idiomatically, this would be `return import.meta`, but for purposes
// of stubbing the test without actual modules, it's shimmed
importMeta: { url: 'http://hybrid.com/mymodule/index.js' }
Expand Down

0 comments on commit 6c7c770

Please sign in to comment.