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

Commit

Permalink
Merge pull request #1014 from PolymerElements/2.0-lint
Browse files Browse the repository at this point in the history
Fix lint warnings
  • Loading branch information
justinfagnani committed May 15, 2017
2 parents 0ad0548 + f037cfb commit 1f3fdfd
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/my-app.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@
<link rel="import" href="../bower_components/paper-icon-button/paper-icon-button.html">
<link rel="import" href="my-icons.html">

<link rel="lazy-import" href="my-view1.html">
<link rel="lazy-import" href="my-view2.html">
<link rel="lazy-import" href="my-view3.html">
<link rel="lazy-import" href="my-view404.html">

<dom-module id="my-app">
<template>
<style>
Expand Down Expand Up @@ -117,6 +122,9 @@
reflectToAttribute: true,
observer: '_pageChanged',
},
rootPattern: String,
routeData: Object,
subroute: String,
};
}

Expand Down
7 changes: 7 additions & 0 deletions src/my-view404.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,13 @@
<script>
class MyView404 extends Polymer.Element {
static get is() { return 'my-view404'; }
static get properties() {
return {
// This shouldn't be neccessary, but the Analyzer isn't picking up
// Polymer.Element#rootPath
rootPath: String,
};
}
}

window.customElements.define(MyView404.is, MyView404);
Expand Down

0 comments on commit 1f3fdfd

Please sign in to comment.