mirror of
https://github.com/Polymer/polymer.git
synced 2025-02-25 18:55:30 -06:00
Move resolveUrl to Polymer.Element, get is from ctor. Fixes #3992
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user