forked from Polymer/polymer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
closure.log
2279 lines (1711 loc) · 103 KB
/
closure.log
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
gulp-google-closure-compiler: /polymer.html_script_0.js:20: WARNING - Returned type does not match declared return type.
Expected : Object|null
Found : undefined
return window.Polymer._polymerFn(info);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/polymer.html_script_10.js:144: WARNING - Property name never defined on trigger of type Object
let triggerPath = trigger.name;
^^^^^^^^^^^^
/polymer.html_script_10.js:168: WARNING - Property property never defined on info of type {methodName:?}
let changedProp = info.property;
^^^^^^^^^^^^^
/polymer.html_script_10.js:170: WARNING - Property __data never defined on inst of type Object
fn.call(inst, inst.__data[changedProp], oldProps[changedProp]);
^^^^^^^^^^^
/polymer.html_script_10.js:195: WARNING - Property __notifyEffects never defined on inst of type Element
let fxs = inst.__notifyEffects;
^^^^^^^^^^^^^^^^^^^^
/polymer.html_script_10.js:225: WARNING - Missing return statement. Function expected to return boolean.
function notifyPath(inst, path, props) {
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/polymer.html_script_10.js:273: WARNING - Property __data never defined on inst of type Element
let value = path ? Polymer.Path.get(inst, path) : inst.__data[property];
^^^^^^^^^^^
/polymer.html_script_10.js:298: WARNING - Property detail never defined on event of type Event
let detail = event.detail;
^^^^^^^^^^^^
/polymer.html_script_10.js:308: WARNING - Property _setPendingPropertyOrPath never defined on inst of type Object
if (inst._setPendingPropertyOrPath(toPath, value, true, Boolean(fromPath))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/polymer.html_script_10.js:310: WARNING - Property _invalidateProperties never defined on inst of type Object
inst._invalidateProperties();
^^^^^^^^^^^^^^^^^^^^^^^^^^
/polymer.html_script_10.js:330: WARNING - Property sanitizeDOMValue never defined on Polymer of type Polymer<|function({is:string}):HTMLElement|>{prototype:?}
value = Polymer.sanitizeDOMValue(value, info.attrName, 'attribute', inst);
^^^^^^^^^^^^^^^^^^^^^^^^
/polymer.html_script_10.js:332: WARNING - Property _propertyToAttribute never defined on inst of type {__data:Object}
inst._propertyToAttribute(property, info.attrName, value);
^^^^^^^^^^^^^^^^^^^^^^^^^
/polymer.html_script_10.js:352: WARNING - Property __computeEffects never defined on inst of type Element
let computeEffects = inst.__computeEffects;
^^^^^^^^^^^^^^^^^^^^^
/polymer.html_script_10.js:356: WARNING - Invalid type for parameter 1 of function Object.assign.
Expected : Object
Found : Object|null
More details:
The found type is a union that includes an unexpected type: null
Object.assign(oldProps, inst.__dataOld);
^^^^^^^^
/polymer.html_script_10.js:356: WARNING - Property __dataOld never defined on inst of type Element
Object.assign(oldProps, inst.__dataOld);
^^^^^^^^^^^^^^
/polymer.html_script_10.js:357: WARNING - Invalid type for parameter 1 of function Object.assign.
Expected : Object
Found : Object|null
More details:
The found type is a union that includes an unexpected type: null
Object.assign(changedProps, inst.__dataPending);
^^^^^^^^^^^^
/polymer.html_script_10.js:444: WARNING - Property negate never defined on $jscomp$destructuring$var0 of type {event:?}
let {event, negate} = binding.parts[0];
^^^^^^
/polymer.html_script_10.js:470: WARNING - Property target never defined on binding of type {kind:string}
if (binding.kind === 'attribute' && binding.target[0] === '-') {
^^^^^^^^^^^^^^
/polymer.html_script_10.js:471: WARNING - Property target never defined on binding of type {kind:string}
console.warn('Cannot set attribute ' + binding.target +
^^^^^^^^^^^^^^
/polymer.html_script_10.js:474: WARNING - Property dependencies never defined on part of type Object
let dependencies = part.dependencies;
^^^^^^^^^^^^^^^^^
/polymer.html_script_10.js:512: WARNING - Property binding never defined on info of type {index:number}
let binding = info.binding;
^^^^^^^^^^^^
/polymer.html_script_10.js:513: WARNING - Property part never defined on info of type {index:number}
let part = info.part;
^^^^^^^^^
/polymer.html_script_10.js:522: WARNING - Property _enqueueClient never defined on inst of type Element
inst._enqueueClient(node);
^^^^^^^^^^^^^^^^^^^
/polymer.html_script_10.js:525: WARNING - Property evaluator never defined on info of type {index:number}
let value = info.evaluator._evaluateBinding(inst, part, path, props, oldProps, hasPaths);
^^^^^^^^^^^^^^
/polymer.html_script_10.js:545: WARNING - Property sanitizeDOMValue never defined on Polymer of type Polymer<|function({is:string}):HTMLElement|>{prototype:?}
value = Polymer.sanitizeDOMValue(value, binding.target, binding.kind, node);
^^^^^^^^^^^^^^^^^^^^^^^^
/polymer.html_script_10.js:545: WARNING - Property kind never defined on binding of type {target:?}
value = Polymer.sanitizeDOMValue(value, binding.target, binding.kind, node);
^^^^^^^^^^^^
/polymer.html_script_10.js:549: WARNING - Property target never defined on binding of type {kind:?}
inst._valueToNodeAttribute(node, value, binding.target);
^^^^^^^^^^^^^^
/polymer.html_script_10.js:552: WARNING - Property target never defined on binding of type {kind:?}
let prop = binding.target;
^^^^^^^^^^^^^^
/polymer.html_script_10.js:582: WARNING - Property kind never defined on binding of type Object
if (binding.kind !== 'attribute') {
^^^^^^^^^^^^
/polymer.html_script_10.js:584: WARNING - Property target never defined on binding of type Object
if (binding.target === 'textContent' ||
^^^^^^^^^^^^^^
/polymer.html_script_10.js:585: WARNING - Property target never defined on binding of type Object
(node.localName == 'input' && binding.target == 'value')) {
^^^^^^^^^^^^^^
/polymer.html_script_10.js:623: WARNING - Property nodeInfoList never defined on $jscomp$destructuring$var1 of type {nodeList:?}
let {nodeList, nodeInfoList} = templateInfo;
^^^^^^^^^^^^
/polymer.html_script_10.js:710: WARNING - Property methodName never defined on sig of type Object
let dynamicFn = sig.static || dynamicFns && dynamicFns[sig.methodName];
^^^^^^^^^^^^^^
/polymer.html_script_10.js:712: WARNING - Property methodName never defined on sig of type Object
methodName: sig.methodName,
^^^^^^^^^^^^^^
/polymer.html_script_10.js:713: WARNING - Property args never defined on sig of type Object
args: sig.args,
^^^^^^^^
/polymer.html_script_10.js:717: WARNING - Property args never defined on sig of type Object
for (let i=0, arg; (i<sig.args.length) && (arg=sig.args[i]); i++) {
^^^^^^^^
/polymer.html_script_10.js:717: WARNING - Property args never defined on sig of type Object
for (let i=0, arg; (i<sig.args.length) && (arg=sig.args[i]); i++) {
^^^^^^^^
/polymer.html_script_10.js:725: WARNING - Property methodName never defined on sig of type Object
model._addPropertyEffect(sig.methodName, type, {
^^^^^^^^^^^^^^
/polymer.html_script_10.js:753: WARNING - Property __data never defined on inst of type Object
let args = marshalArgs(inst.__data, info.args, property, props);
^^^^^^^^^^^
/polymer.html_script_10.js:753: WARNING - Property args never defined on info of type {methodName:?}
let args = marshalArgs(inst.__data, info.args, property, props);
^^^^^^^^^
/polymer.html_script_10.js:923: WARNING - Property value never defined on arg of type {literal:truthy, name:?}
v = arg.value;
^^^^^^^^^
/polymer.html_script_10.js:967: WARNING - Property notifyPath never defined on inst of type Element
inst.notifyPath(splicesPath, { indexSplices: splices });
^^^^^^^^^^^^^^^
/polymer.html_script_10.js:968: WARNING - Property notifyPath never defined on inst of type Element
inst.notifyPath(path + '.length', array.length);
^^^^^^^^^^^^^^^
/polymer.html_script_10.js:970: WARNING - Property __data never defined on inst of type Element
inst.__data[splicesPath] = {indexSplices: null};
^^^^^^^^^^^
/polymer.html_script_10.js:1049: WARNING - propertyEffectsBase extends non-object type ?.
const propertyEffectsBase = Polymer.TemplateStamp(Polymer.PropertyAccessors(superClass));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/polymer.html_script_10.js:1089: WARNING - Invalid type for parameter 1 of function Object.create.
Expected : Object|null
Found : *
this.__data = Object.create(props);
^^^^^
/polymer.html_script_10.js:1090: WARNING - Invalid type for parameter 1 of function Object.create.
Expected : Object|null
Found : *
this.__dataPending = Object.create(props);
^^^^^
/polymer.html_script_10.js:1101: WARNING - Property __readOnly never defined on this of type PropertyEffects
let readOnly = this.__readOnly;
^^^^^^^^^^^^^^^
/polymer.html_script_10.js:1102: WARNING - For/in expects an object, found type *.
for (let prop in props) {
^^^^^
/polymer.html_script_10.js:1106: WARNING - Cannot access property [prop] of non-object type *.
this.__data[prop] = this.__dataPending[prop] = props[prop];
^^^^^
/polymer.html_script_10.js:1367: WARNING - Missing return statement. Function expected to return boolean.
_setPendingProperty(property, value, shouldNotify) {
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/polymer.html_script_10.js:1529: WARNING - Invalid type for parameter 1 of function runComputedEffects.
Expected : Element|null
Found : PropertyEffects{__dataHasPaths:boolean}
runComputedEffects(this, changedProps, oldProps, hasPaths);
^^^^
/polymer.html_script_10.js:1529: WARNING - Invalid type for parameter 2 of function runComputedEffects.
Expected : Object|null
Found : *
runComputedEffects(this, changedProps, oldProps, hasPaths);
^^^^^^^^^^^^
/polymer.html_script_10.js:1529: WARNING - Invalid type for parameter 3 of function runComputedEffects.
Expected : Object|null
Found : *
runComputedEffects(this, changedProps, oldProps, hasPaths);
^^^^^^^^
/polymer.html_script_10.js:1531: WARNING - Invalid type for parameter 1 of function computeLinkedPaths.
Expected : Element|null
Found : PropertyEffects{__dataHasPaths:boolean}
computeLinkedPaths(this, changedProps, hasPaths);
^^^^
/polymer.html_script_10.js:1531: WARNING - Invalid type for parameter 2 of function computeLinkedPaths.
Expected : Object|null
Found : *
computeLinkedPaths(this, changedProps, hasPaths);
^^^^^^^^^^^^
/polymer.html_script_10.js:1537: WARNING - Invalid type for parameter 1 of function this._propagatePropertyChanges.
Expected : Object|null
Found : *
this._propagatePropertyChanges(changedProps, oldProps, hasPaths);
^^^^^^^^^^^^
/polymer.html_script_10.js:1537: WARNING - Invalid type for parameter 2 of function this._propagatePropertyChanges.
Expected : Object|null
Found : *
this._propagatePropertyChanges(changedProps, oldProps, hasPaths);
^^^^^^^^
/polymer.html_script_10.js:1541: WARNING - Property __reflectEffects never defined on this of type PropertyEffects{__dataHasPaths:boolean, __dataToNotify:null}
runEffects(this, this.__reflectEffects, changedProps, oldProps, hasPaths);
^^^^^^^^^^^^^^^^^^^^^
/polymer.html_script_10.js:1541: WARNING - Invalid type for parameter 3 of function runEffects.
Expected : Object|null
Found : *
runEffects(this, this.__reflectEffects, changedProps, oldProps, hasPaths);
^^^^^^^^^^^^
/polymer.html_script_10.js:1541: WARNING - Invalid type for parameter 4 of function runEffects.
Expected : Object|null|undefined
Found : *
runEffects(this, this.__reflectEffects, changedProps, oldProps, hasPaths);
^^^^^^^^
/polymer.html_script_10.js:1543: WARNING - Property __observeEffects never defined on this of type PropertyEffects{__dataHasPaths:boolean, __dataToNotify:null}
runEffects(this, this.__observeEffects, changedProps, oldProps, hasPaths);
^^^^^^^^^^^^^^^^^^^^^
/polymer.html_script_10.js:1543: WARNING - Invalid type for parameter 3 of function runEffects.
Expected : Object|null
Found : *
runEffects(this, this.__observeEffects, changedProps, oldProps, hasPaths);
^^^^^^^^^^^^
/polymer.html_script_10.js:1543: WARNING - Invalid type for parameter 4 of function runEffects.
Expected : Object|null|undefined
Found : *
runEffects(this, this.__observeEffects, changedProps, oldProps, hasPaths);
^^^^^^^^
/polymer.html_script_10.js:1546: WARNING - Invalid type for parameter 1 of function runNotifyEffects.
Expected : Element|null
Found : PropertyEffects{__dataHasPaths:boolean, __dataToNotify:null}
runNotifyEffects(this, notifyProps, changedProps, oldProps, hasPaths);
^^^^
/polymer.html_script_10.js:1546: WARNING - Invalid type for parameter 3 of function runNotifyEffects.
Expected : Object|null
Found : *
runNotifyEffects(this, notifyProps, changedProps, oldProps, hasPaths);
^^^^^^^^^^^^
/polymer.html_script_10.js:1546: WARNING - Invalid type for parameter 4 of function runNotifyEffects.
Expected : Object|null
Found : *
runNotifyEffects(this, notifyProps, changedProps, oldProps, hasPaths);
^^^^^^^^
/polymer.html_script_10.js:1549: WARNING - Property __dataCounter never defined on this of type PropertyEffects{__dataHasPaths:boolean, __dataToNotify:null}
if (this.__dataCounter == 1) {
^^^^^^^^^^^^^^^^^^
/polymer.html_script_10.js:1641: WARNING - Invalid type for parameter 1 of function notifySplices.
Expected : Element|null
Found : PropertyEffects
notifySplices(this, array, info.path, splices);
^^^^
/polymer.html_script_10.js:1641: WARNING - Property path never defined on info of type Object{}
notifySplices(this, array, info.path, splices);
^^^^^^^^^
/polymer.html_script_10.js:1719: WARNING - Invalid type for parameter 1 of function notifySplice.
Expected : Element|null
Found : PropertyEffects
notifySplice(this, array, info.path, len, items.length, []);
^^^^
/polymer.html_script_10.js:1719: WARNING - Property path never defined on info of type Object{}
notifySplice(this, array, info.path, len, items.length, []);
^^^^^^^^^
/polymer.html_script_10.js:1743: WARNING - Invalid type for parameter 1 of function notifySplice.
Expected : Element|null
Found : PropertyEffects
notifySplice(this, array, info.path, array.length, 0, [ret]);
^^^^
/polymer.html_script_10.js:1743: WARNING - Property path never defined on info of type Object{}
notifySplice(this, array, info.path, array.length, 0, [ret]);
^^^^^^^^^
/polymer.html_script_10.js:1779: WARNING - Invalid type for parameter 1 of function notifySplice.
Expected : Element|null
Found : PropertyEffects
notifySplice(this, array, info.path, start, items.length, ret);
^^^^
/polymer.html_script_10.js:1779: WARNING - Property path never defined on info of type Object{}
notifySplice(this, array, info.path, start, items.length, ret);
^^^^^^^^^
/polymer.html_script_10.js:1803: WARNING - Invalid type for parameter 1 of function notifySplice.
Expected : Element|null
Found : PropertyEffects
notifySplice(this, array, info.path, 0, 0, [ret]);
^^^^
/polymer.html_script_10.js:1803: WARNING - Property path never defined on info of type Object{}
notifySplice(this, array, info.path, 0, 0, [ret]);
^^^^^^^^^
/polymer.html_script_10.js:1827: WARNING - Invalid type for parameter 1 of function notifySplice.
Expected : Element|null
Found : PropertyEffects
notifySplice(this, array, info.path, 0, items.length, []);
^^^^
/polymer.html_script_10.js:1827: WARNING - Property path never defined on info of type Object{}
notifySplice(this, array, info.path, 0, items.length, []);
^^^^^^^^^
/polymer.html_script_10.js:1851: WARNING - Property path never defined on info of type Object{}
propPath = info.path;
^^^^^^^^^
/polymer.html_script_10.js:1882: WARNING - Dangerous use of the global THIS object
this._setProperty(property, value);
^^^^
/polymer.html_script_10.js:2080: WARNING - Property nodeList never defined on dom of type DocumentFragment
templateInfo.nodeList = dom.nodeList;
^^^^^^^^^^^^
/polymer.html_script_10.js:2093: WARNING - Property propertyEffects never defined on templateInfo of type {childNodes:Array<?>=, nodeList:?, wasPreBound:truthy=}
runEffects(this, templateInfo.propertyEffects, this.__data, null,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/polymer.html_script_10.js:2109: WARNING - Property templateInfo never defined on dom of type DocumentFragment
let templateInfo = dom.templateInfo;
^^^^^^^^^^^^^^^^
/polymer.html_script_10.js:2143: WARNING - Property _parseTemplateNode never defined on propertyEffectsBase of type propertyEffectsBase<|function(new:propertyEffectsBase):?|>
let noted = super._parseTemplateNode(node, templateInfo, nodeInfo);
^^^^^^^^^^^^^^^^^^^^^^^^
/polymer.html_script_10.js:2151: WARNING - Function addBinding: called with 6 argument(s). Function requires at least 7 argument(s) and at most 7.
addBinding(this, templateInfo, nodeInfo, 'text', 'textContent', parts);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/polymer.html_script_10.js:2187: WARNING - Property setAttribute never defined on node of type Node
node.setAttribute(name, literal);
^^^^^^^^^^^^^^^^^
/polymer.html_script_10.js:2194: WARNING - Property setAttribute never defined on node of type Node
node.setAttribute(origName, '');
^^^^^^^^^^^^^^^^^
/polymer.html_script_10.js:2197: WARNING - Property removeAttribute never defined on node of type Node
node.removeAttribute(origName);
^^^^^^^^^^^^^^^^^^^^
/polymer.html_script_10.js:2208: WARNING - Property _parseTemplateNodeAttribute never defined on propertyEffectsBase of type propertyEffectsBase<|function(new:propertyEffectsBase):?|>
return super._parseTemplateNodeAttribute(node, templateInfo, nodeInfo, name, value);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/polymer.html_script_10.js:2226: WARNING - Property _parseTemplateNestedTemplate never defined on propertyEffectsBase of type propertyEffectsBase<|function(new:propertyEffectsBase):?|>
let noted = super._parseTemplateNestedTemplate(node, templateInfo, nodeInfo);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/polymer.html_script_10.js:2232: WARNING - Function addBinding: called with 6 argument(s). Function requires at least 7 argument(s) and at most 7.
addBinding(this, templateInfo, nodeInfo, 'property', '_host_' + source, parts);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/polymer.html_script_10.js:2270: WARNING - Missing return statement. Function expected to return Array<Object|null>|null.
static _parseBindings(text, templateInfo) {
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/polymer.html_script_10.js:2299: WARNING - Property args never defined on $jscomp$destructuring$var2 of type Object
let {args, methodName} = signature;
^^^^
/polymer.html_script_10.js:2299: WARNING - Property methodName never defined on $jscomp$destructuring$var2 of type Object
let {args, methodName} = signature;
^^^^^^^^^^
/polymer.html_script_10.js:2352: WARNING - Property source never defined on part of type Object
} else if (path != part.source) {
^^^^^^^^^^^
/polymer.html_script_10.js:2353: WARNING - Property source never defined on part of type Object
value = Polymer.Path.get(inst, part.source);
^^^^^^^^^^^
/polymer.html_script_10.js:2358: WARNING - Property __data never defined on inst of type HTMLElement
value = inst.__data[path];
^^^^^^^^^^^
/polymer.html_script_11.js:105: WARNING - polymerElementBase extends non-object type ?.
const polymerElementBase = Polymer.PropertyEffects(base);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/polymer.html_script_11.js:126: WARNING - Property properties never defined on klass of type HTMLElement
klass.properties : {};
^^^^^^^^^^^^^^^^
/polymer.html_script_11.js:144: WARNING - Property observers never defined on klass of type HTMLElement
klass.observers : [];
^^^^^^^^^^^^^^^
/polymer.html_script_11.js:155: WARNING - Type annotation references non-existent type Objecg.
* @return {Objecg} The input `flattenedProps` bag
^^^^^^
/polymer.html_script_11.js:184: WARNING - Property prototype never defined on klass of type HTMLElement{__classProperties:?}
let superCtor = Object.getPrototypeOf(klass.prototype).constructor;
^^^^^^^^^^^^^^^
/polymer.html_script_11.js:187: WARNING - Invalid type for parameter 1 of function propertiesForClass.
Expected : HTMLElement|null
Found : Function
Object.create(propertiesForClass(superCtor)),
^^^^^^^^^
/polymer.html_script_11.js:241: WARNING - Property prototype never defined on klass of type HTMLElement
let proto = klass.prototype;
^^^^^^^^^^^^^^^
/polymer.html_script_11.js:260: WARNING - Property prototype never defined on klass of type HTMLElement{__finalized:boolean}
let proto = klass.prototype;
^^^^^^^^^^^^^^^
/polymer.html_script_11.js:274: WARNING - Property template never defined on klass of type HTMLElement{__finalized:boolean, is:truthy=}
let template = klass.template;
^^^^^^^^^^^^^^
/polymer.html_script_11.js:318: WARNING - Property _createMethodObserver never defined on proto of type HTMLElement
proto._createMethodObserver(observers[i], dynamicFns);
^^^^^^^^^^^^^^^^^^^^^^^^^^^
/polymer.html_script_11.js:390: WARNING - Property _hasReadOnlyEffect never defined on proto of type HTMLElement
if (info.computed && !proto._hasReadOnlyEffect(name)) {
^^^^^^^^^^^^^^^^^^^^^^^^
/polymer.html_script_11.js:391: WARNING - Property _createComputedProperty never defined on proto of type HTMLElement
proto._createComputedProperty(name, info.computed, allProps);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/polymer.html_script_11.js:393: WARNING - Property _hasReadOnlyEffect never defined on proto of type HTMLElement
if (info.readOnly && !proto._hasReadOnlyEffect(name)) {
^^^^^^^^^^^^^^^^^^^^^^^^
/polymer.html_script_11.js:394: WARNING - Property _createReadOnlyProperty never defined on proto of type HTMLElement
proto._createReadOnlyProperty(name, !info.computed);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/polymer.html_script_11.js:396: WARNING - Property _hasReflectEffect never defined on proto of type HTMLElement
if (info.reflectToAttribute && !proto._hasReflectEffect(name)) {
^^^^^^^^^^^^^^^^^^^^^^^
/polymer.html_script_11.js:397: WARNING - Property _createReflectedProperty never defined on proto of type HTMLElement
proto._createReflectedProperty(name);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/polymer.html_script_11.js:399: WARNING - Property _hasNotifyEffect never defined on proto of type HTMLElement
if (info.notify && !proto._hasNotifyEffect(name)) {
^^^^^^^^^^^^^^^^^^^^^^
/polymer.html_script_11.js:400: WARNING - Property _createNotifyingProperty never defined on proto of type HTMLElement
proto._createNotifyingProperty(name);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/polymer.html_script_11.js:404: WARNING - Property _createPropertyObserver never defined on proto of type HTMLElement
proto._createPropertyObserver(name, info.observer, allProps[info.observer]);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/polymer.html_script_11.js:433: WARNING - Invalid type for parameter 1 of function window.ShadyCSS.prepareTemplate.
Expected : HTMLTemplateElement
Found : HTMLTemplateElement|null
More details:
The found type is a union that includes an unexpected type: null
window.ShadyCSS.prepareTemplate(template, is, ext);
^^^^^^^^
/polymer.html_script_11.js:435: WARNING - Property _bindTemplate never defined on proto of type HTMLElement
proto._bindTemplate(template);
^^^^^^^^^^^^^^^^^^^
/polymer.html_script_11.js:458: WARNING - Invalid type for parameter 1 of function propertiesForClass.
Expected : HTMLElement|null
Found : PolymerElement
let properties = propertiesForClass(this);
^^^^
/polymer.html_script_11.js:524: WARNING - Property is never defined on this of type PolymerElement
this._template = Polymer.DomModule.import(this.is, 'template') ||
^^^^^^^
/polymer.html_script_11.js:528: WARNING - Property prototype never defined on this of type PolymerElement
Object.getPrototypeOf(this.prototype).constructor.template;
^^^^^^^^^^^^^^
/polymer.html_script_11.js:546: WARNING - Property is never defined on this of type PolymerElement
const module = Polymer.DomModule.import(this.is);
^^^^^^^
/polymer.html_script_11.js:548: WARNING - Property prototype never defined on this of type PolymerElement
Object.getPrototypeOf(this.prototype).constructor.importPath;
^^^^^^^^^^^^^^
/polymer.html_script_11.js:573: WARNING - Function Polymer.ResolveUrl.resolveUrl: called with 1 argument(s). Function requires at least 2 argument(s) and at most 2.
importPath ? Polymer.ResolveUrl.resolveUrl(importPath) : '';
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/polymer.html_script_11.js:574: WARNING - Invalid type for parameter 1 of function finalizeTemplate.
Expected : HTMLElement|null
Found : Object|null
More details:
The found type is a union that includes an unexpected type: Object
finalizeTemplate(this.__proto__, this._template, baseURI,
^^^^^^^^^^^^^^
/polymer.html_script_11.js:575: WARNING - Property localName never defined on this of type PolymerElement{_template:HTMLTemplateElement{__polymerFinalized:boolean}, constructor:Function}
this.localName);
^^^^^^^^^^^^^^
/polymer.html_script_11.js:582: WARNING - Invalid type for parameter 1 of function propertyDefaultsForClass.
Expected : HTMLElement|null
Found : Function
let p$ = propertyDefaultsForClass(this.constructor);
^^^^^^^^^^^^^^^^
/polymer.html_script_11.js:618: WARNING - Invalid type for parameter 1 of function window.ShadyCSS.styleElement.
Expected : HTMLElement
Found : PolymerElement{_template:truthy}
window.ShadyCSS.styleElement(this);
^^^^
/polymer.html_script_11.js:643: WARNING - Property $ never defined on this.root of type DocumentFragment
this.$ = this.root.$;
^^^^^^^^^^^
/polymer.html_script_11.js:676: WARNING - Missing return statement. Function expected to return Node|null.
_attachDom(dom) {
^^^^^^^^^^^^^^^^^
/polymer.html_script_11.js:719: WARNING - Invalid type for parameter 1 of function propertiesForClass.
Expected : HTMLElement|null
Found : Function|null
More details:
The found type is a union that includes an unexpected type: Function
let type = propertiesForClass(this.constructor)[property].type;
^^^^^^^^^^^^^^^^
/polymer.html_script_11.js:721: WARNING - Invalid type for parameter 1 of function this._attributeToProperty.
Expected : string
Found : *
this._attributeToProperty(name, value, type);
^^^^
/polymer.html_script_11.js:721: WARNING - Invalid type for parameter 2 of function this._attributeToProperty.
Expected : string
Found : *
this._attributeToProperty(name, value, type);
^^^^^
/polymer.html_script_11.js:744: WARNING - Invalid type for parameter 1 of function window.ShadyCSS.styleSubtree.
Expected : HTMLElement
Found : PolymerElement
window.ShadyCSS.styleSubtree(this, properties);
^^^^
/polymer.html_script_11.js:761: WARNING - Function Polymer.ResolveUrl.resolveUrl: called with 1 argument(s). Function requires at least 2 argument(s) and at most 2.
base = Polymer.ResolveUrl.resolveUrl(this.importPath);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/polymer.html_script_11.js:776: WARNING - Property _parseTemplateContent never defined on polymerElementBase of type polymerElementBase<|function(new:polymerElementBase):?|>
return super._parseTemplateContent(template, templateInfo, nodeInfo);
^^^^^^^^^^^^^^^^^^^^^^^^^^^
/polymer.html_script_11.js:812: WARNING - Dangerous use of the global THIS object
if (this.stack.length) {
^^^^
/polymer.html_script_11.js:813: WARNING - Dangerous use of the global THIS object
let host = this.stack[this.stack.length-1];
^^^^
/polymer.html_script_11.js:813: WARNING - Dangerous use of the global THIS object
let host = this.stack[this.stack.length-1];
^^^^
/polymer.html_script_11.js:819: WARNING - Dangerous use of the global THIS object
this.stack.push(inst);
^^^^
/polymer.html_script_11.js:823: WARNING - Dangerous use of the global THIS object
let stackLen = this.stack.length;
^^^^
/polymer.html_script_11.js:824: WARNING - Dangerous use of the global THIS object
if (stackLen && this.stack[stackLen-1] == inst) {
^^^^
/polymer.html_script_11.js:825: WARNING - Dangerous use of the global THIS object
this.stack.pop();
^^^^
/polymer.html_script_11.js:847: WARNING - Type annotation references non-existent type Polymer.Element.
* @type {Array<Polymer.Element>}
^^^^^^^^^^^^^^^
/polymer.html_script_11.js:855: WARNING - Property is never defined on prototype of type HTMLElement
console.log('[' + prototype.is + ']: registered')
^^^^^^^^^^^^
/polymer.html_script_11.js:863: WARNING - Dangerous use of the global THIS object
this.registrations.push(prototype);
^^^^
/polymer.html_script_11.js:864: WARNING - Dangerous use of the global THIS object
Polymer.log && this._regLog(prototype);
^^^^
/polymer.html_script_11.js:871: WARNING - Dangerous use of the global THIS object
this.registrations.forEach(this._regLog);
^^^^
/polymer.html_script_11.js:871: WARNING - Dangerous use of the global THIS object
this.registrations.forEach(this._regLog);
^^^^
/polymer.html_script_12.js:60: WARNING - Type annotation references non-existent type Polymer.Debouncer.
* @param {Polymer.Debouncer?} debouncer Debouncer object.
^^^^^^^^^^^^^^^^^
/polymer.html_script_13.js:246: WARNING - Returned type does not match declared return type.
Expected : HTMLElement|null
Found : Element|null
More details:
The found type is a union that includes an unexpected type: Element
return node;
^^^^^^^^^^^^
/polymer.html_script_13.js:258: WARNING - Returned type does not match declared return type.
Expected : HTMLElement|null
Found : Document|Element|ShadowRoot|Window
More details:
The found type is a union that includes an unexpected type: Window
return ev.composedPath()[0];
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/polymer.html_script_13.js:261: WARNING - Returned type does not match declared return type.
Expected : HTMLElement|null
Found : EventTarget|null
More details:
The found type is a union that includes an unexpected type: EventTarget
return ev.target;
^^^^^^^^^^^^^^^^^
/polymer.html_script_13.js:283: WARNING - Property changedTouches never defined on ev of type Event
let t = ev.changedTouches[0];
^^^^^^^^^^^^^^^^^
/polymer.html_script_13.js:286: WARNING - Property touches never defined on ev of type Event
if (ev.touches.length === 1) {
^^^^^^^^^^
/polymer.html_script_13.js:330: WARNING - Property changedTouches never defined on ev of type Event
let t = ev.changedTouches[0];
^^^^^^^^^^^^^^^^^
/polymer.html_script_13.js:371: WARNING - Missing return statement. Function expected to return boolean.
addListener: function(node, evType, handler) {
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/polymer.html_script_13.js:372: WARNING - Dangerous use of the global THIS object
if (this.gestures[evType]) {
^^^^
/polymer.html_script_13.js:373: WARNING - Dangerous use of the global THIS object
this._add(node, evType, handler);
^^^^
/polymer.html_script_13.js:388: WARNING - Missing return statement. Function expected to return boolean.
removeListener: function(node, evType, handler) {
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/polymer.html_script_13.js:389: WARNING - Dangerous use of the global THIS object
if (this.gestures[evType]) {
^^^^
/polymer.html_script_13.js:390: WARNING - Dangerous use of the global THIS object
this._remove(node, evType, handler);
^^^^
/polymer.html_script_13.js:401: WARNING - Bad type annotation. missing opening ( See https://github.com/google/closure-compiler/wiki/Bad-Type-Annotation for more information.
* @param {function} handler Event handler function.
^
/polymer.html_script_13.js:404: WARNING - Dangerous use of the global THIS object
let recognizer = this.gestures[evType];
^^^^
/polymer.html_script_13.js:422: WARNING - Dangerous use of the global THIS object
node.addEventListener(dep, this._handleNative);
^^^^
/polymer.html_script_13.js:429: WARNING - Dangerous use of the global THIS object
this.setTouchAction(node, recognizer.touchAction);
^^^^
/polymer.html_script_13.js:439: WARNING - Bad type annotation. missing opening ( See https://github.com/google/closure-compiler/wiki/Bad-Type-Annotation for more information.
* @param {function} handler Event handler function.
^
/polymer.html_script_13.js:442: WARNING - Dangerous use of the global THIS object
let recognizer = this.gestures[evType];
^^^^
/polymer.html_script_13.js:454: WARNING - Dangerous use of the global THIS object
node.removeEventListener(dep, this._handleNative);
^^^^
/polymer.html_script_13.js:470: WARNING - Dangerous use of the global THIS object
this.recognizers.push(recog);
^^^^
/polymer.html_script_13.js:472: WARNING - Dangerous use of the global THIS object
this.gestures[recog.emits[i]] = recog;
^^^^
/polymer.html_script_13.js:482: WARNING - Dangerous use of the global THIS object
for (let i = 0, r; i < this.recognizers.length; i++) {
^^^^
/polymer.html_script_13.js:483: WARNING - Dangerous use of the global THIS object
r = this.recognizers[i];
^^^^
/polymer.html_script_13.js:506: WARNING - Property style never defined on node of type Node
node.style.touchAction = value;
^^^^^^^^^^
/polymer.html_script_13.js:539: WARNING - Dangerous use of the global THIS object
let recognizer = this._findRecognizerByEvent(evName);
^^^^
/polymer.html_script_13.js:576: WARNING - Dangerous use of the global THIS object
untrackDocument(this.info);
^^^^
/polymer.html_script_13.js:597: WARNING - Dangerous use of the global THIS object
trackDocument(this.info, movefn, upfn);
^^^^
/polymer.html_script_13.js:598: WARNING - Dangerous use of the global THIS object
this._fire('down', t, e);
^^^^
/polymer.html_script_13.js:601: WARNING - Dangerous use of the global THIS object
this._fire('down', Gestures._findOriginalTarget(e), e.changedTouches[0], e);
^^^^
/polymer.html_script_13.js:604: WARNING - Dangerous use of the global THIS object
this._fire('up', Gestures._findOriginalTarget(e), e.changedTouches[0], e);
^^^^
/polymer.html_script_13.js:636: WARNING - Dangerous use of the global THIS object
if (this.moves.length > TRACK_LENGTH) {
^^^^
/polymer.html_script_13.js:637: WARNING - Dangerous use of the global THIS object
this.moves.shift();
^^^^
/polymer.html_script_13.js:639: WARNING - Dangerous use of the global THIS object
this.moves.push(move);
^^^^
/polymer.html_script_13.js:647: WARNING - Dangerous use of the global THIS object
this.info.state = 'start';
^^^^
/polymer.html_script_13.js:648: WARNING - Dangerous use of the global THIS object
this.info.started = false;
^^^^
/polymer.html_script_13.js:649: WARNING - Dangerous use of the global THIS object
this.info.moves = [];
^^^^
/polymer.html_script_13.js:650: WARNING - Dangerous use of the global THIS object
this.info.x = 0;
^^^^
/polymer.html_script_13.js:651: WARNING - Dangerous use of the global THIS object
this.info.y = 0;
^^^^
/polymer.html_script_13.js:652: WARNING - Dangerous use of the global THIS object
this.info.prevent = false;
^^^^
/polymer.html_script_13.js:653: WARNING - Dangerous use of the global THIS object
untrackDocument(this.info);
^^^^
/polymer.html_script_13.js:657: WARNING - Dangerous use of the global THIS object
if (this.info.prevent) {
^^^^
/polymer.html_script_13.js:660: WARNING - Dangerous use of the global THIS object
if (this.info.started) {
^^^^
/polymer.html_script_13.js:663: WARNING - Dangerous use of the global THIS object
let dx = Math.abs(this.info.x - x);
^^^^
/polymer.html_script_13.js:664: WARNING - Dangerous use of the global THIS object
let dy = Math.abs(this.info.y - y);
^^^^
/polymer.html_script_13.js:702: WARNING - Dangerous use of the global THIS object
trackDocument(this.info, movefn, upfn);
^^^^
/polymer.html_script_13.js:703: WARNING - Dangerous use of the global THIS object
this.info.x = e.clientX;
^^^^
/polymer.html_script_13.js:704: WARNING - Dangerous use of the global THIS object
this.info.y = e.clientY;
^^^^
/polymer.html_script_13.js:709: WARNING - Dangerous use of the global THIS object
this.info.x = ct.clientX;
^^^^
/polymer.html_script_13.js:710: WARNING - Dangerous use of the global THIS object
this.info.y = ct.clientY;
^^^^
/polymer.html_script_13.js:717: WARNING - Dangerous use of the global THIS object
if (this.hasMovedEnough(x, y)) {
^^^^
/polymer.html_script_13.js:718: WARNING - Dangerous use of the global THIS object
if (this.info.state === 'start') {
^^^^
/polymer.html_script_13.js:722: WARNING - Dangerous use of the global THIS object
this.info.addMove({x: x, y: y});
^^^^
/polymer.html_script_13.js:723: WARNING - Dangerous use of the global THIS object
this._fire(t, ct);
^^^^
/polymer.html_script_13.js:724: WARNING - Dangerous use of the global THIS object
this.info.state = 'track';
^^^^
/polymer.html_script_13.js:725: WARNING - Dangerous use of the global THIS object
this.info.started = true;
^^^^
/polymer.html_script_13.js:733: WARNING - Dangerous use of the global THIS object
if (this.info.started) {
^^^^
/polymer.html_script_13.js:735: WARNING - Dangerous use of the global THIS object
this.info.state = 'end';
^^^^
/polymer.html_script_13.js:736: WARNING - Dangerous use of the global THIS object
this.info.addMove({x: ct.clientX, y: ct.clientY});
^^^^
/polymer.html_script_13.js:737: WARNING - Dangerous use of the global THIS object
this._fire(t, ct, e);
^^^^
/polymer.html_script_13.js:742: WARNING - Dangerous use of the global THIS object
let secondlast = this.info.moves[this.info.moves.length - 2];
^^^^
/polymer.html_script_13.js:742: WARNING - Dangerous use of the global THIS object
let secondlast = this.info.moves[this.info.moves.length - 2];
^^^^
/polymer.html_script_13.js:743: WARNING - Dangerous use of the global THIS object
let lastmove = this.info.moves[this.info.moves.length - 1];
^^^^
/polymer.html_script_13.js:743: WARNING - Dangerous use of the global THIS object
let lastmove = this.info.moves[this.info.moves.length - 1];
^^^^
/polymer.html_script_13.js:744: WARNING - Dangerous use of the global THIS object
let dx = lastmove.x - this.info.x;
^^^^
/polymer.html_script_13.js:745: WARNING - Dangerous use of the global THIS object
let dy = lastmove.y - this.info.y;
^^^^
/polymer.html_script_13.js:752: WARNING - Dangerous use of the global THIS object
state: this.info.state,
^^^^
/polymer.html_script_13.js:782: WARNING - Dangerous use of the global THIS object
this.info.x = NaN;
^^^^