File tree Expand file tree Collapse file tree 2 files changed +34
-5
lines changed Expand file tree Collapse file tree 2 files changed +34
-5
lines changed Original file line number Diff line number Diff line change 18
18
"entrypoint" : " index.html" ,
19
19
"shell" : " src/test-app-app/test-app-app.js" ,
20
20
"builds" : [
21
- {"name" : " modern" , "browserCapabilities" : [" es2015" , " push" ]},
22
- {"name" : " fallback" }
21
+ { "name" : " modern" ,
22
+ "browserCapabilities" : [" es2015" , " push" ],
23
+ "js" : {
24
+ "minify" : true
25
+ },
26
+ "css" : {
27
+ "minify" : true
28
+ },
29
+ "html" : {
30
+ "minify" : true
31
+ },
32
+ "bundle" : true ,
33
+ "addServiceWorker" : true
34
+ },
35
+ {
36
+ "name" : " fallback" ,
37
+ "js" : {
38
+ "minify" : true
39
+ },
40
+ "css" : {
41
+ "minify" : true
42
+ },
43
+ "html" : {
44
+ "minify" : true
45
+ },
46
+ "bundle" : false ,
47
+ "addServiceWorker" : false
48
+ }
23
49
]
24
50
}
Original file line number Diff line number Diff line change @@ -54,7 +54,6 @@ class TestAppApp extends PolymerElement {
54
54
< app-header fixed condenses effects ="waterfall " slot ="header ">
55
55
< app-toolbar >
56
56
< paper-icon-button icon ="svg-sample-icons:info " on-tap ="_openInfo "> </ paper-icon-button >
57
-
58
57
< div main-title > Token Explorer</ div >
59
58
< paper-icon-button icon ="svg-sample-icons:cart " on-tap ="_openBuy "> </ paper-icon-button >
60
59
< iron-dropdown id ="buy " horizontal-align ="right " vertical-align ="top ">
@@ -68,7 +67,7 @@ class TestAppApp extends PolymerElement {
68
67
< iron-dropdown id ="settings " horizontal-align ="right " vertical-align ="top ">
69
68
< div slot ="dropdown-content ">
70
69
< h2 > Settings</ h2 >
71
- < paper-checkbox > Send Telemetry Data</ paper-checkbox >
70
+ < paper-checkbox checked =" {{sendTelemetry}} " > Send Telemetry Data</ paper-checkbox >
72
71
< div > Uses Google Analytics</ div >
73
72
</ div >
74
73
</ iron-dropdown >
@@ -165,7 +164,7 @@ class TestAppApp extends PolymerElement {
165
164
} ) ;
166
165
let dataset = me . datasets [ me . dataset ] ;
167
166
let duration = me . durations [ me . duration ] ;
168
- console . log
167
+
169
168
var data = {
170
169
labels : labels ,
171
170
datasets : [
@@ -199,6 +198,10 @@ class TestAppApp extends PolymerElement {
199
198
}
200
199
static get properties ( ) {
201
200
return {
201
+ sendTelemetry : {
202
+ type : Boolean ,
203
+ value : false
204
+ } ,
202
205
datasetsIcons : {
203
206
type : Array ,
204
207
value : [
You can’t perform that action at this time.
0 commit comments