mirror of
https://github.com/Polymer/polymer-starter-kit.git
synced 2025-02-25 18:55:22 -06:00
Remove static is getters.
This commit is contained in:
@@ -111,8 +111,6 @@ class MyApp extends PolymerElement {
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'my-app'; }
|
||||
|
||||
static get properties() {
|
||||
return {
|
||||
page: {
|
||||
@@ -173,4 +171,4 @@ class MyApp extends PolymerElement {
|
||||
}
|
||||
}
|
||||
|
||||
window.customElements.define(MyApp.is, MyApp);
|
||||
window.customElements.define('my-app', MyApp);
|
||||
|
||||
@@ -30,8 +30,6 @@ class MyView1 extends PolymerElement {
|
||||
</div>
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'my-view1'; }
|
||||
}
|
||||
|
||||
window.customElements.define(MyView1.is, MyView1);
|
||||
window.customElements.define('my-view1', MyView1);
|
||||
|
||||
@@ -30,8 +30,6 @@ class MyView2 extends PolymerElement {
|
||||
</div>
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'my-view2'; }
|
||||
}
|
||||
|
||||
window.customElements.define(MyView2.is, MyView2);
|
||||
window.customElements.define('my-view2', MyView2);
|
||||
|
||||
@@ -30,8 +30,6 @@ class MyView3 extends PolymerElement {
|
||||
</div>
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'my-view3'; }
|
||||
}
|
||||
|
||||
window.customElements.define(MyView3.is, MyView3);
|
||||
window.customElements.define('my-view3', MyView3);
|
||||
|
||||
@@ -24,8 +24,6 @@ class MyView404 extends PolymerElement {
|
||||
Oops you hit a 404. <a href="[[rootPath]]">Head back to home.</a>
|
||||
`;
|
||||
}
|
||||
|
||||
static get is() { return 'my-view404'; }
|
||||
}
|
||||
|
||||
window.customElements.define(MyView404.is, MyView404);
|
||||
window.customElements.define('my-view404', MyView404);
|
||||
|
||||
Reference in New Issue
Block a user