diff --git a/.eslintrc.json b/.eslintrc.json index ce13b20e9..8e8d8130d 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,5 +1,8 @@ { "extends": ["eslint:recommended", "google"], + "parserOptions": { + "ecmaVersion": 6 + }, "env": { "browser": true }, @@ -7,8 +10,10 @@ "html" ], "rules": { + "brace-style": "off", + "new-cap": ["error", { "capIsNewExceptions": ["Polymer"] }], "no-var": "off", - "new-cap": ["error", { "capIsNewExceptions": ["Polymer"] }] + "require-jsdoc": "off" }, "globals": { "Polymer": true diff --git a/bower.json b/bower.json index 8b1dd7e3a..3addddc7a 100644 --- a/bower.json +++ b/bower.json @@ -5,22 +5,21 @@ ], "license": "https://polymer.github.io/LICENSE.txt", "dependencies": { - "app-layout": "PolymerElements/app-layout#^0.10.0", - "app-route": "PolymerElements/app-route#^0.9.0", - "iron-flex-layout": "PolymerElements/iron-flex-layout#^1.0.0", - "iron-icon": "PolymerElements/iron-icon#^1.0.0", - "iron-iconset-svg": "PolymerElements/iron-iconset-svg#^1.0.0", - "iron-localstorage": "PolymerElements/iron-localstorage#^1.0.0", - "iron-media-query": "PolymerElements/iron-media-query#^1.0.0", - "iron-pages": "PolymerElements/iron-pages#^1.0.0", - "iron-selector": "PolymerElements/iron-selector#^1.0.0", - "paper-icon-button": "PolymerElements/paper-icon-button#~1.1.0", - "polymer": "Polymer/polymer#^1.6.0" + "app-layout": "PolymerElements/app-layout#2.0-preview", + "app-route": "PolymerElements/app-route#2.0-preview", + "iron-flex-layout": "PolymerElements/iron-flex-layout#2.0-preview", + "iron-icon": "PolymerElements/iron-icon#2.0-preview", + "iron-iconset-svg": "PolymerElements/iron-iconset-svg#2.0-preview", + "iron-localstorage": "PolymerElements/iron-localstorage#2.0-preview", + "iron-media-query": "PolymerElements/iron-media-query#2.0-preview", + "iron-pages": "PolymerElements/iron-pages#2.0-preview", + "iron-selector": "PolymerElements/iron-selector#2.0-preview", + "paper-icon-button": "PolymerElements/paper-icon-button#2.0-preview", + "polymer": "Polymer/polymer#2.0-preview", + "webcomponentsjs": "webcomponents/webcomponentsjs#^1.0.0-rc.1" }, "devDependencies": { - "web-component-tester": "^4.0.0", - "webcomponentsjs": "webcomponents/webcomponentsjs#^1.0.0-rc.1" + "web-component-tester": "6.0.0-prerelease.5" }, - "private": true, - "ignore": [] + "private": true } diff --git a/index.html b/index.html index c0ca1de0e..eff037ec3 100644 --- a/index.html +++ b/index.html @@ -47,46 +47,8 @@ + + + + + + - @@ -28,8 +28,10 @@ diff --git a/src/shared-styles.html b/src/shared-styles.html index 5e4f2491d..6b993ab43 100644 --- a/src/shared-styles.html +++ b/src/shared-styles.html @@ -8,7 +8,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt --> - + diff --git a/sw-precache-config.js b/sw-precache-config.js index 301bb56b0..05366c230 100644 --- a/sw-precache-config.js +++ b/sw-precache-config.js @@ -14,7 +14,7 @@ module.exports = { staticFileGlobs: [ '/index.html', '/manifest.json', - '/bower_components/webcomponentsjs/webcomponents-lite.min.js', + '/bower_components/webcomponentsjs/*', ], navigateFallback: 'index.html', }; diff --git a/test/index.html b/test/index.html index 8678e3845..ffcbbeb23 100644 --- a/test/index.html +++ b/test/index.html @@ -21,8 +21,10 @@ diff --git a/test/my-view1.html b/test/my-view1.html index bcb79628e..8fdba141a 100644 --- a/test/my-view1.html +++ b/test/my-view1.html @@ -23,7 +23,7 @@ - + @@ -31,14 +31,9 @@