Move resolveUrl to Polymer.Element, get is from ctor. Fixes #3992

This commit is contained in:
Kevin Schaaf
2016-10-24 17:12:44 -07:00
parent b1be456f21
commit 6fe6a755e1
4 changed files with 32 additions and 23 deletions

View File

@@ -28,10 +28,16 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
</template>
</dom-module>
<script>
Polymer({is: 'p-r'});
class PR extends Polymer.Element {
static get is() { return 'p-r'; }
}
customElements.define(PR.is, PR);
</script>
<dom-module id="p-r-ap" assetpath="../../assets/"></dom-module>
<script>
Polymer({is: 'p-r-ap'});
class PRAp extends Polymer.Element {
static get is() { return 'p-r-ap'; }
}
customElements.define(PRAp.is, PRAp);
</script>