Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

Commit 1f3fdfd

Browse files
Merge pull request #1014 from PolymerElements/2.0-lint
Fix lint warnings
2 parents 0ad0548 + f037cfb commit 1f3fdfd

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

src/my-app.html

+8
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@
2222
<link rel="import" href="../bower_components/paper-icon-button/paper-icon-button.html">
2323
<link rel="import" href="my-icons.html">
2424

25+
<link rel="lazy-import" href="my-view1.html">
26+
<link rel="lazy-import" href="my-view2.html">
27+
<link rel="lazy-import" href="my-view3.html">
28+
<link rel="lazy-import" href="my-view404.html">
29+
2530
<dom-module id="my-app">
2631
<template>
2732
<style>
@@ -117,6 +122,9 @@
117122
reflectToAttribute: true,
118123
observer: '_pageChanged',
119124
},
125+
rootPattern: String,
126+
routeData: Object,
127+
subroute: String,
120128
};
121129
}
122130

src/my-view404.html

+7
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,13 @@
2626
<script>
2727
class MyView404 extends Polymer.Element {
2828
static get is() { return 'my-view404'; }
29+
static get properties() {
30+
return {
31+
// This shouldn't be neccessary, but the Analyzer isn't picking up
32+
// Polymer.Element#rootPath
33+
rootPath: String,
34+
};
35+
}
2936
}
3037

3138
window.customElements.define(MyView404.is, MyView404);

0 commit comments

Comments
 (0)