| OLD | NEW |
| (Empty) | |
| 1 gulp-google-closure-compiler: /polymer.html_script_0.js:20: WARNING - Returned t
ype does not match declared return type. |
| 2 Expected : Object|null |
| 3 Found : undefined |
| 4 |
| 5 return window.Polymer._polymerFn(info); |
| 6 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 7 |
| 8 /polymer.html_script_10.js:144: WARNING - Property name never defined on trigger
of type Object |
| 9 let triggerPath = trigger.name; |
| 10 ^^^^^^^^^^^^ |
| 11 |
| 12 /polymer.html_script_10.js:168: WARNING - Property property never defined on inf
o of type {methodName:?} |
| 13 let changedProp = info.property; |
| 14 ^^^^^^^^^^^^^ |
| 15 |
| 16 /polymer.html_script_10.js:170: WARNING - Property __data never defined on inst
of type Object |
| 17 fn.call(inst, inst.__data[changedProp], oldProps[changedProp]); |
| 18 ^^^^^^^^^^^ |
| 19 |
| 20 /polymer.html_script_10.js:195: WARNING - Property __notifyEffects never defined
on inst of type Element |
| 21 let fxs = inst.__notifyEffects; |
| 22 ^^^^^^^^^^^^^^^^^^^^ |
| 23 |
| 24 /polymer.html_script_10.js:225: WARNING - Missing return statement. Function exp
ected to return boolean. |
| 25 function notifyPath(inst, path, props) { |
| 26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 27 |
| 28 /polymer.html_script_10.js:273: WARNING - Property __data never defined on inst
of type Element |
| 29 let value = path ? Polymer.Path.get(inst, path) : inst.__data[property]; |
| 30 ^^^^^^^^^^^ |
| 31 |
| 32 /polymer.html_script_10.js:298: WARNING - Property detail never defined on event
of type Event |
| 33 let detail = event.detail; |
| 34 ^^^^^^^^^^^^ |
| 35 |
| 36 /polymer.html_script_10.js:308: WARNING - Property _setPendingPropertyOrPath nev
er defined on inst of type Object |
| 37 if (inst._setPendingPropertyOrPath(toPath, value, true, Boolean(fromPath)) |
| 38 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 39 |
| 40 /polymer.html_script_10.js:310: WARNING - Property _invalidateProperties never d
efined on inst of type Object |
| 41 inst._invalidateProperties(); |
| 42 ^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 43 |
| 44 /polymer.html_script_10.js:330: WARNING - Property sanitizeDOMValue never define
d on Polymer of type Polymer<|function({is:string}):HTMLElement|>{prototype:?} |
| 45 value = Polymer.sanitizeDOMValue(value, info.attrName, 'attribute', inst); |
| 46 ^^^^^^^^^^^^^^^^^^^^^^^^ |
| 47 |
| 48 /polymer.html_script_10.js:332: WARNING - Property _propertyToAttribute never de
fined on inst of type {__data:Object} |
| 49 inst._propertyToAttribute(property, info.attrName, value); |
| 50 ^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 51 |
| 52 /polymer.html_script_10.js:352: WARNING - Property __computeEffects never define
d on inst of type Element |
| 53 let computeEffects = inst.__computeEffects; |
| 54 ^^^^^^^^^^^^^^^^^^^^^ |
| 55 |
| 56 /polymer.html_script_10.js:356: WARNING - Invalid type for parameter 1 of functi
on Object.assign. |
| 57 Expected : Object |
| 58 Found : Object|null |
| 59 More details: |
| 60 The found type is a union that includes an unexpected type: null |
| 61 Object.assign(oldProps, inst.__dataOld); |
| 62 ^^^^^^^^ |
| 63 |
| 64 /polymer.html_script_10.js:356: WARNING - Property __dataOld never defined on in
st of type Element |
| 65 Object.assign(oldProps, inst.__dataOld); |
| 66 ^^^^^^^^^^^^^^ |
| 67 |
| 68 /polymer.html_script_10.js:357: WARNING - Invalid type for parameter 1 of functi
on Object.assign. |
| 69 Expected : Object |
| 70 Found : Object|null |
| 71 More details: |
| 72 The found type is a union that includes an unexpected type: null |
| 73 Object.assign(changedProps, inst.__dataPending); |
| 74 ^^^^^^^^^^^^ |
| 75 |
| 76 /polymer.html_script_10.js:444: WARNING - Property negate never defined on $jsco
mp$destructuring$var0 of type {event:?} |
| 77 let {event, negate} = binding.parts[0]; |
| 78 ^^^^^^ |
| 79 |
| 80 /polymer.html_script_10.js:470: WARNING - Property target never defined on bindi
ng of type {kind:string} |
| 81 if (binding.kind === 'attribute' && binding.target[0] === '-') { |
| 82 ^^^^^^^^^^^^^^ |
| 83 |
| 84 /polymer.html_script_10.js:471: WARNING - Property target never defined on bindi
ng of type {kind:string} |
| 85 console.warn('Cannot set attribute ' + binding.target + |
| 86 ^^^^^^^^^^^^^^ |
| 87 |
| 88 /polymer.html_script_10.js:474: WARNING - Property dependencies never defined on
part of type Object |
| 89 let dependencies = part.dependencies; |
| 90 ^^^^^^^^^^^^^^^^^ |
| 91 |
| 92 /polymer.html_script_10.js:512: WARNING - Property binding never defined on info
of type {index:number} |
| 93 let binding = info.binding; |
| 94 ^^^^^^^^^^^^ |
| 95 |
| 96 /polymer.html_script_10.js:513: WARNING - Property part never defined on info of
type {index:number} |
| 97 let part = info.part; |
| 98 ^^^^^^^^^ |
| 99 |
| 100 /polymer.html_script_10.js:522: WARNING - Property _enqueueClient never defined
on inst of type Element |
| 101 inst._enqueueClient(node); |
| 102 ^^^^^^^^^^^^^^^^^^^ |
| 103 |
| 104 /polymer.html_script_10.js:525: WARNING - Property evaluator never defined on in
fo of type {index:number} |
| 105 let value = info.evaluator._evaluateBinding(inst, part, path, props, oldPr
ops, hasPaths); |
| 106 ^^^^^^^^^^^^^^ |
| 107 |
| 108 /polymer.html_script_10.js:545: WARNING - Property sanitizeDOMValue never define
d on Polymer of type Polymer<|function({is:string}):HTMLElement|>{prototype:?} |
| 109 value = Polymer.sanitizeDOMValue(value, binding.target, binding.kind, node
); |
| 110 ^^^^^^^^^^^^^^^^^^^^^^^^ |
| 111 |
| 112 /polymer.html_script_10.js:545: WARNING - Property kind never defined on binding
of type {target:?} |
| 113 value = Polymer.sanitizeDOMValue(value, binding.target, binding.kind, node
); |
| 114 ^^^^^^^^^^^^ |
| 115 |
| 116 /polymer.html_script_10.js:549: WARNING - Property target never defined on bindi
ng of type {kind:?} |
| 117 inst._valueToNodeAttribute(node, value, binding.target); |
| 118 ^^^^^^^^^^^^^^ |
| 119 |
| 120 /polymer.html_script_10.js:552: WARNING - Property target never defined on bindi
ng of type {kind:?} |
| 121 let prop = binding.target; |
| 122 ^^^^^^^^^^^^^^ |
| 123 |
| 124 /polymer.html_script_10.js:582: WARNING - Property kind never defined on binding
of type Object |
| 125 if (binding.kind !== 'attribute') { |
| 126 ^^^^^^^^^^^^ |
| 127 |
| 128 /polymer.html_script_10.js:584: WARNING - Property target never defined on bindi
ng of type Object |
| 129 if (binding.target === 'textContent' || |
| 130 ^^^^^^^^^^^^^^ |
| 131 |
| 132 /polymer.html_script_10.js:585: WARNING - Property target never defined on bindi
ng of type Object |
| 133 (node.localName == 'input' && binding.target == 'value')) { |
| 134 ^^^^^^^^^^^^^^ |
| 135 |
| 136 /polymer.html_script_10.js:623: WARNING - Property nodeInfoList never defined on
$jscomp$destructuring$var1 of type {nodeList:?} |
| 137 let {nodeList, nodeInfoList} = templateInfo; |
| 138 ^^^^^^^^^^^^ |
| 139 |
| 140 /polymer.html_script_10.js:710: WARNING - Property methodName never defined on s
ig of type Object |
| 141 let dynamicFn = sig.static || dynamicFns && dynamicFns[sig.methodName]; |
| 142 ^^^^^^^^^^^^^^ |
| 143 |
| 144 /polymer.html_script_10.js:712: WARNING - Property methodName never defined on s
ig of type Object |
| 145 methodName: sig.methodName, |
| 146 ^^^^^^^^^^^^^^ |
| 147 |
| 148 /polymer.html_script_10.js:713: WARNING - Property args never defined on sig of
type Object |
| 149 args: sig.args, |
| 150 ^^^^^^^^ |
| 151 |
| 152 /polymer.html_script_10.js:717: WARNING - Property args never defined on sig of
type Object |
| 153 for (let i=0, arg; (i<sig.args.length) && (arg=sig.args[i]); i++) { |
| 154 ^^^^^^^^ |
| 155 |
| 156 /polymer.html_script_10.js:717: WARNING - Property args never defined on sig of
type Object |
| 157 for (let i=0, arg; (i<sig.args.length) && (arg=sig.args[i]); i++) { |
| 158 ^^^^^^^^ |
| 159 |
| 160 /polymer.html_script_10.js:725: WARNING - Property methodName never defined on s
ig of type Object |
| 161 model._addPropertyEffect(sig.methodName, type, { |
| 162 ^^^^^^^^^^^^^^ |
| 163 |
| 164 /polymer.html_script_10.js:753: WARNING - Property __data never defined on inst
of type Object |
| 165 let args = marshalArgs(inst.__data, info.args, property, props); |
| 166 ^^^^^^^^^^^ |
| 167 |
| 168 /polymer.html_script_10.js:753: WARNING - Property args never defined on info of
type {methodName:?} |
| 169 let args = marshalArgs(inst.__data, info.args, property, props); |
| 170 ^^^^^^^^^ |
| 171 |
| 172 /polymer.html_script_10.js:923: WARNING - Property value never defined on arg of
type {literal:truthy, name:?} |
| 173 v = arg.value; |
| 174 ^^^^^^^^^ |
| 175 |
| 176 /polymer.html_script_10.js:967: WARNING - Property notifyPath never defined on i
nst of type Element |
| 177 inst.notifyPath(splicesPath, { indexSplices: splices }); |
| 178 ^^^^^^^^^^^^^^^ |
| 179 |
| 180 /polymer.html_script_10.js:968: WARNING - Property notifyPath never defined on i
nst of type Element |
| 181 inst.notifyPath(path + '.length', array.length); |
| 182 ^^^^^^^^^^^^^^^ |
| 183 |
| 184 /polymer.html_script_10.js:970: WARNING - Property __data never defined on inst
of type Element |
| 185 inst.__data[splicesPath] = {indexSplices: null}; |
| 186 ^^^^^^^^^^^ |
| 187 |
| 188 /polymer.html_script_10.js:1049: WARNING - propertyEffectsBase extends non-objec
t type ?. |
| 189 |
| 190 const propertyEffectsBase = Polymer.TemplateStamp(Polymer.PropertyAccessors(
superClass)); |
| 191 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^ |
| 192 |
| 193 /polymer.html_script_10.js:1089: WARNING - Invalid type for parameter 1 of funct
ion Object.create. |
| 194 Expected : Object|null |
| 195 Found : * |
| 196 |
| 197 this.__data = Object.create(props); |
| 198 ^^^^^ |
| 199 |
| 200 /polymer.html_script_10.js:1090: WARNING - Invalid type for parameter 1 of funct
ion Object.create. |
| 201 Expected : Object|null |
| 202 Found : * |
| 203 |
| 204 this.__dataPending = Object.create(props); |
| 205 ^^^^^ |
| 206 |
| 207 /polymer.html_script_10.js:1101: WARNING - Property __readOnly never defined on
this of type PropertyEffects |
| 208 let readOnly = this.__readOnly; |
| 209 ^^^^^^^^^^^^^^^ |
| 210 |
| 211 /polymer.html_script_10.js:1102: WARNING - For/in expects an object, found type
*. |
| 212 for (let prop in props) { |
| 213 ^^^^^ |
| 214 |
| 215 /polymer.html_script_10.js:1106: WARNING - Cannot access property [prop] of non-
object type *. |
| 216 this.__data[prop] = this.__dataPending[prop] = props[prop]; |
| 217 ^^^^^ |
| 218 |
| 219 /polymer.html_script_10.js:1367: WARNING - Missing return statement. Function ex
pected to return boolean. |
| 220 _setPendingProperty(property, value, shouldNotify) { |
| 221 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 222 |
| 223 /polymer.html_script_10.js:1529: WARNING - Invalid type for parameter 1 of funct
ion runComputedEffects. |
| 224 Expected : Element|null |
| 225 Found : PropertyEffects{__dataHasPaths:boolean} |
| 226 |
| 227 runComputedEffects(this, changedProps, oldProps, hasPaths); |
| 228 ^^^^ |
| 229 |
| 230 /polymer.html_script_10.js:1529: WARNING - Invalid type for parameter 2 of funct
ion runComputedEffects. |
| 231 Expected : Object|null |
| 232 Found : * |
| 233 |
| 234 runComputedEffects(this, changedProps, oldProps, hasPaths); |
| 235 ^^^^^^^^^^^^ |
| 236 |
| 237 /polymer.html_script_10.js:1529: WARNING - Invalid type for parameter 3 of funct
ion runComputedEffects. |
| 238 Expected : Object|null |
| 239 Found : * |
| 240 |
| 241 runComputedEffects(this, changedProps, oldProps, hasPaths); |
| 242 ^^^^^^^^ |
| 243 |
| 244 /polymer.html_script_10.js:1531: WARNING - Invalid type for parameter 1 of funct
ion computeLinkedPaths. |
| 245 Expected : Element|null |
| 246 Found : PropertyEffects{__dataHasPaths:boolean} |
| 247 |
| 248 computeLinkedPaths(this, changedProps, hasPaths); |
| 249 ^^^^ |
| 250 |
| 251 /polymer.html_script_10.js:1531: WARNING - Invalid type for parameter 2 of funct
ion computeLinkedPaths. |
| 252 Expected : Object|null |
| 253 Found : * |
| 254 |
| 255 computeLinkedPaths(this, changedProps, hasPaths); |
| 256 ^^^^^^^^^^^^ |
| 257 |
| 258 /polymer.html_script_10.js:1537: WARNING - Invalid type for parameter 1 of funct
ion this._propagatePropertyChanges. |
| 259 Expected : Object|null |
| 260 Found : * |
| 261 |
| 262 this._propagatePropertyChanges(changedProps, oldProps, hasPaths); |
| 263 ^^^^^^^^^^^^ |
| 264 |
| 265 /polymer.html_script_10.js:1537: WARNING - Invalid type for parameter 2 of funct
ion this._propagatePropertyChanges. |
| 266 Expected : Object|null |
| 267 Found : * |
| 268 |
| 269 this._propagatePropertyChanges(changedProps, oldProps, hasPaths); |
| 270 ^^^^^^^^ |
| 271 |
| 272 /polymer.html_script_10.js:1541: WARNING - Property __reflectEffects never defin
ed on this of type PropertyEffects{__dataHasPaths:boolean, __dataToNotify:null} |
| 273 runEffects(this, this.__reflectEffects, changedProps, oldProps, hasPaths
); |
| 274 ^^^^^^^^^^^^^^^^^^^^^ |
| 275 |
| 276 /polymer.html_script_10.js:1541: WARNING - Invalid type for parameter 3 of funct
ion runEffects. |
| 277 Expected : Object|null |
| 278 Found : * |
| 279 |
| 280 runEffects(this, this.__reflectEffects, changedProps, oldProps, hasPaths
); |
| 281 ^^^^^^^^^^^^ |
| 282 |
| 283 /polymer.html_script_10.js:1541: WARNING - Invalid type for parameter 4 of funct
ion runEffects. |
| 284 Expected : Object|null|undefined |
| 285 Found : * |
| 286 |
| 287 runEffects(this, this.__reflectEffects, changedProps, oldProps, hasPaths
); |
| 288 ^^^^^^^^ |
| 289 |
| 290 /polymer.html_script_10.js:1543: WARNING - Property __observeEffects never defin
ed on this of type PropertyEffects{__dataHasPaths:boolean, __dataToNotify:null} |
| 291 runEffects(this, this.__observeEffects, changedProps, oldProps, hasPaths
); |
| 292 ^^^^^^^^^^^^^^^^^^^^^ |
| 293 |
| 294 /polymer.html_script_10.js:1543: WARNING - Invalid type for parameter 3 of funct
ion runEffects. |
| 295 Expected : Object|null |
| 296 Found : * |
| 297 |
| 298 runEffects(this, this.__observeEffects, changedProps, oldProps, hasPaths
); |
| 299 ^^^^^^^^^^^^ |
| 300 |
| 301 /polymer.html_script_10.js:1543: WARNING - Invalid type for parameter 4 of funct
ion runEffects. |
| 302 Expected : Object|null|undefined |
| 303 Found : * |
| 304 |
| 305 runEffects(this, this.__observeEffects, changedProps, oldProps, hasPaths
); |
| 306 ^^^^^^^^ |
| 307 |
| 308 /polymer.html_script_10.js:1546: WARNING - Invalid type for parameter 1 of funct
ion runNotifyEffects. |
| 309 Expected : Element|null |
| 310 Found : PropertyEffects{__dataHasPaths:boolean, __dataToNotify:null} |
| 311 |
| 312 runNotifyEffects(this, notifyProps, changedProps, oldProps, hasPaths); |
| 313 ^^^^ |
| 314 |
| 315 /polymer.html_script_10.js:1546: WARNING - Invalid type for parameter 3 of funct
ion runNotifyEffects. |
| 316 Expected : Object|null |
| 317 Found : * |
| 318 |
| 319 runNotifyEffects(this, notifyProps, changedProps, oldProps, hasPaths); |
| 320 ^^^^^^^^^^^^ |
| 321 |
| 322 /polymer.html_script_10.js:1546: WARNING - Invalid type for parameter 4 of funct
ion runNotifyEffects. |
| 323 Expected : Object|null |
| 324 Found : * |
| 325 |
| 326 runNotifyEffects(this, notifyProps, changedProps, oldProps, hasPaths); |
| 327 ^^^^^^^^ |
| 328 |
| 329 /polymer.html_script_10.js:1549: WARNING - Property __dataCounter never defined
on this of type PropertyEffects{__dataHasPaths:boolean, __dataToNotify:null} |
| 330 if (this.__dataCounter == 1) { |
| 331 ^^^^^^^^^^^^^^^^^^ |
| 332 |
| 333 /polymer.html_script_10.js:1641: WARNING - Invalid type for parameter 1 of funct
ion notifySplices. |
| 334 Expected : Element|null |
| 335 Found : PropertyEffects |
| 336 |
| 337 notifySplices(this, array, info.path, splices); |
| 338 ^^^^ |
| 339 |
| 340 /polymer.html_script_10.js:1641: WARNING - Property path never defined on info o
f type Object{} |
| 341 notifySplices(this, array, info.path, splices); |
| 342 ^^^^^^^^^ |
| 343 |
| 344 /polymer.html_script_10.js:1719: WARNING - Invalid type for parameter 1 of funct
ion notifySplice. |
| 345 Expected : Element|null |
| 346 Found : PropertyEffects |
| 347 |
| 348 notifySplice(this, array, info.path, len, items.length, []); |
| 349 ^^^^ |
| 350 |
| 351 /polymer.html_script_10.js:1719: WARNING - Property path never defined on info o
f type Object{} |
| 352 notifySplice(this, array, info.path, len, items.length, []); |
| 353 ^^^^^^^^^ |
| 354 |
| 355 /polymer.html_script_10.js:1743: WARNING - Invalid type for parameter 1 of funct
ion notifySplice. |
| 356 Expected : Element|null |
| 357 Found : PropertyEffects |
| 358 |
| 359 notifySplice(this, array, info.path, array.length, 0, [ret]); |
| 360 ^^^^ |
| 361 |
| 362 /polymer.html_script_10.js:1743: WARNING - Property path never defined on info o
f type Object{} |
| 363 notifySplice(this, array, info.path, array.length, 0, [ret]); |
| 364 ^^^^^^^^^ |
| 365 |
| 366 /polymer.html_script_10.js:1779: WARNING - Invalid type for parameter 1 of funct
ion notifySplice. |
| 367 Expected : Element|null |
| 368 Found : PropertyEffects |
| 369 |
| 370 notifySplice(this, array, info.path, start, items.length, ret); |
| 371 ^^^^ |
| 372 |
| 373 /polymer.html_script_10.js:1779: WARNING - Property path never defined on info o
f type Object{} |
| 374 notifySplice(this, array, info.path, start, items.length, ret); |
| 375 ^^^^^^^^^ |
| 376 |
| 377 /polymer.html_script_10.js:1803: WARNING - Invalid type for parameter 1 of funct
ion notifySplice. |
| 378 Expected : Element|null |
| 379 Found : PropertyEffects |
| 380 |
| 381 notifySplice(this, array, info.path, 0, 0, [ret]); |
| 382 ^^^^ |
| 383 |
| 384 /polymer.html_script_10.js:1803: WARNING - Property path never defined on info o
f type Object{} |
| 385 notifySplice(this, array, info.path, 0, 0, [ret]); |
| 386 ^^^^^^^^^ |
| 387 |
| 388 /polymer.html_script_10.js:1827: WARNING - Invalid type for parameter 1 of funct
ion notifySplice. |
| 389 Expected : Element|null |
| 390 Found : PropertyEffects |
| 391 |
| 392 notifySplice(this, array, info.path, 0, items.length, []); |
| 393 ^^^^ |
| 394 |
| 395 /polymer.html_script_10.js:1827: WARNING - Property path never defined on info o
f type Object{} |
| 396 notifySplice(this, array, info.path, 0, items.length, []); |
| 397 ^^^^^^^^^ |
| 398 |
| 399 /polymer.html_script_10.js:1851: WARNING - Property path never defined on info o
f type Object{} |
| 400 propPath = info.path; |
| 401 ^^^^^^^^^ |
| 402 |
| 403 /polymer.html_script_10.js:1882: WARNING - Dangerous use of the global THIS obje
ct |
| 404 this._setProperty(property, value); |
| 405 ^^^^ |
| 406 |
| 407 /polymer.html_script_10.js:2080: WARNING - Property nodeList never defined on do
m of type DocumentFragment |
| 408 templateInfo.nodeList = dom.nodeList; |
| 409 ^^^^^^^^^^^^ |
| 410 |
| 411 /polymer.html_script_10.js:2093: WARNING - Property propertyEffects never define
d on templateInfo of type {childNodes:Array<?>=, nodeList:?, wasPreBound:truthy=
} |
| 412 runEffects(this, templateInfo.propertyEffects, this.__data, null, |
| 413 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 414 |
| 415 /polymer.html_script_10.js:2109: WARNING - Property templateInfo never defined o
n dom of type DocumentFragment |
| 416 let templateInfo = dom.templateInfo; |
| 417 ^^^^^^^^^^^^^^^^ |
| 418 |
| 419 /polymer.html_script_10.js:2143: WARNING - Property _parseTemplateNode never def
ined on propertyEffectsBase of type propertyEffectsBase<|function(new:propertyEf
fectsBase):?|> |
| 420 let noted = super._parseTemplateNode(node, templateInfo, nodeInfo); |
| 421 ^^^^^^^^^^^^^^^^^^^^^^^^ |
| 422 |
| 423 /polymer.html_script_10.js:2151: WARNING - Function addBinding: called with 6 ar
gument(s). Function requires at least 7 argument(s) and at most 7. |
| 424 addBinding(this, templateInfo, nodeInfo, 'text', 'textContent', part
s); |
| 425 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^ |
| 426 |
| 427 /polymer.html_script_10.js:2187: WARNING - Property setAttribute never defined o
n node of type Node |
| 428 node.setAttribute(name, literal); |
| 429 ^^^^^^^^^^^^^^^^^ |
| 430 |
| 431 /polymer.html_script_10.js:2194: WARNING - Property setAttribute never defined o
n node of type Node |
| 432 node.setAttribute(origName, ''); |
| 433 ^^^^^^^^^^^^^^^^^ |
| 434 |
| 435 /polymer.html_script_10.js:2197: WARNING - Property removeAttribute never define
d on node of type Node |
| 436 node.removeAttribute(origName); |
| 437 ^^^^^^^^^^^^^^^^^^^^ |
| 438 |
| 439 /polymer.html_script_10.js:2208: WARNING - Property _parseTemplateNodeAttribute
never defined on propertyEffectsBase of type propertyEffectsBase<|function(new:p
ropertyEffectsBase):?|> |
| 440 return super._parseTemplateNodeAttribute(node, templateInfo, nodeInfo,
name, value); |
| 441 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 442 |
| 443 /polymer.html_script_10.js:2226: WARNING - Property _parseTemplateNestedTemplate
never defined on propertyEffectsBase of type propertyEffectsBase<|function(new:
propertyEffectsBase):?|> |
| 444 let noted = super._parseTemplateNestedTemplate(node, templateInfo, nodeI
nfo); |
| 445 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 446 |
| 447 /polymer.html_script_10.js:2232: WARNING - Function addBinding: called with 6 ar
gument(s). Function requires at least 7 argument(s) and at most 7. |
| 448 addBinding(this, templateInfo, nodeInfo, 'property', '_host_' + source
, parts); |
| 449 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^ |
| 450 |
| 451 /polymer.html_script_10.js:2270: WARNING - Missing return statement. Function ex
pected to return Array<Object|null>|null. |
| 452 static _parseBindings(text, templateInfo) { |
| 453 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 454 |
| 455 /polymer.html_script_10.js:2299: WARNING - Property args never defined on $jscom
p$destructuring$var2 of type Object |
| 456 let {args, methodName} = signature; |
| 457 ^^^^ |
| 458 |
| 459 /polymer.html_script_10.js:2299: WARNING - Property methodName never defined on
$jscomp$destructuring$var2 of type Object |
| 460 let {args, methodName} = signature; |
| 461 ^^^^^^^^^^ |
| 462 |
| 463 /polymer.html_script_10.js:2352: WARNING - Property source never defined on part
of type Object |
| 464 } else if (path != part.source) { |
| 465 ^^^^^^^^^^^ |
| 466 |
| 467 /polymer.html_script_10.js:2353: WARNING - Property source never defined on part
of type Object |
| 468 value = Polymer.Path.get(inst, part.source); |
| 469 ^^^^^^^^^^^ |
| 470 |
| 471 /polymer.html_script_10.js:2358: WARNING - Property __data never defined on inst
of type HTMLElement |
| 472 value = inst.__data[path]; |
| 473 ^^^^^^^^^^^ |
| 474 |
| 475 /polymer.html_script_11.js:105: WARNING - polymerElementBase extends non-object
type ?. |
| 476 |
| 477 const polymerElementBase = Polymer.PropertyEffects(base); |
| 478 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 479 |
| 480 /polymer.html_script_11.js:126: WARNING - Property properties never defined on k
lass of type HTMLElement |
| 481 klass.properties : {}; |
| 482 ^^^^^^^^^^^^^^^^ |
| 483 |
| 484 /polymer.html_script_11.js:144: WARNING - Property observers never defined on kl
ass of type HTMLElement |
| 485 klass.observers : []; |
| 486 ^^^^^^^^^^^^^^^ |
| 487 |
| 488 /polymer.html_script_11.js:155: WARNING - Type annotation references non-existen
t type Objecg. |
| 489 * @return {Objecg} The input `flattenedProps` bag |
| 490 ^^^^^^ |
| 491 |
| 492 /polymer.html_script_11.js:184: WARNING - Property prototype never defined on kl
ass of type HTMLElement{__classProperties:?} |
| 493 let superCtor = Object.getPrototypeOf(klass.prototype).constructor; |
| 494 ^^^^^^^^^^^^^^^ |
| 495 |
| 496 /polymer.html_script_11.js:187: WARNING - Invalid type for parameter 1 of functi
on propertiesForClass. |
| 497 Expected : HTMLElement|null |
| 498 Found : Function |
| 499 |
| 500 Object.create(propertiesForClass(superCtor)), |
| 501 ^^^^^^^^^ |
| 502 |
| 503 /polymer.html_script_11.js:241: WARNING - Property prototype never defined on kl
ass of type HTMLElement |
| 504 let proto = klass.prototype; |
| 505 ^^^^^^^^^^^^^^^ |
| 506 |
| 507 /polymer.html_script_11.js:260: WARNING - Property prototype never defined on kl
ass of type HTMLElement{__finalized:boolean} |
| 508 let proto = klass.prototype; |
| 509 ^^^^^^^^^^^^^^^ |
| 510 |
| 511 /polymer.html_script_11.js:274: WARNING - Property template never defined on kla
ss of type HTMLElement{__finalized:boolean, is:truthy=} |
| 512 let template = klass.template; |
| 513 ^^^^^^^^^^^^^^ |
| 514 |
| 515 /polymer.html_script_11.js:318: WARNING - Property _createMethodObserver never d
efined on proto of type HTMLElement |
| 516 proto._createMethodObserver(observers[i], dynamicFns); |
| 517 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 518 |
| 519 /polymer.html_script_11.js:390: WARNING - Property _hasReadOnlyEffect never defi
ned on proto of type HTMLElement |
| 520 if (info.computed && !proto._hasReadOnlyEffect(name)) { |
| 521 ^^^^^^^^^^^^^^^^^^^^^^^^ |
| 522 |
| 523 /polymer.html_script_11.js:391: WARNING - Property _createComputedProperty never
defined on proto of type HTMLElement |
| 524 proto._createComputedProperty(name, info.computed, allProps); |
| 525 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 526 |
| 527 /polymer.html_script_11.js:393: WARNING - Property _hasReadOnlyEffect never defi
ned on proto of type HTMLElement |
| 528 if (info.readOnly && !proto._hasReadOnlyEffect(name)) { |
| 529 ^^^^^^^^^^^^^^^^^^^^^^^^ |
| 530 |
| 531 /polymer.html_script_11.js:394: WARNING - Property _createReadOnlyProperty never
defined on proto of type HTMLElement |
| 532 proto._createReadOnlyProperty(name, !info.computed); |
| 533 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 534 |
| 535 /polymer.html_script_11.js:396: WARNING - Property _hasReflectEffect never defin
ed on proto of type HTMLElement |
| 536 if (info.reflectToAttribute && !proto._hasReflectEffect(name)) { |
| 537 ^^^^^^^^^^^^^^^^^^^^^^^ |
| 538 |
| 539 /polymer.html_script_11.js:397: WARNING - Property _createReflectedProperty neve
r defined on proto of type HTMLElement |
| 540 proto._createReflectedProperty(name); |
| 541 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 542 |
| 543 /polymer.html_script_11.js:399: WARNING - Property _hasNotifyEffect never define
d on proto of type HTMLElement |
| 544 if (info.notify && !proto._hasNotifyEffect(name)) { |
| 545 ^^^^^^^^^^^^^^^^^^^^^^ |
| 546 |
| 547 /polymer.html_script_11.js:400: WARNING - Property _createNotifyingProperty neve
r defined on proto of type HTMLElement |
| 548 proto._createNotifyingProperty(name); |
| 549 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 550 |
| 551 /polymer.html_script_11.js:404: WARNING - Property _createPropertyObserver never
defined on proto of type HTMLElement |
| 552 proto._createPropertyObserver(name, info.observer, allProps[info.observe
r]); |
| 553 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 554 |
| 555 /polymer.html_script_11.js:433: WARNING - Invalid type for parameter 1 of functi
on window.ShadyCSS.prepareTemplate. |
| 556 Expected : HTMLTemplateElement |
| 557 Found : HTMLTemplateElement|null |
| 558 More details: |
| 559 The found type is a union that includes an unexpected type: null |
| 560 window.ShadyCSS.prepareTemplate(template, is, ext); |
| 561 ^^^^^^^^ |
| 562 |
| 563 /polymer.html_script_11.js:435: WARNING - Property _bindTemplate never defined o
n proto of type HTMLElement |
| 564 proto._bindTemplate(template); |
| 565 ^^^^^^^^^^^^^^^^^^^ |
| 566 |
| 567 /polymer.html_script_11.js:458: WARNING - Invalid type for parameter 1 of functi
on propertiesForClass. |
| 568 Expected : HTMLElement|null |
| 569 Found : PolymerElement |
| 570 |
| 571 let properties = propertiesForClass(this); |
| 572 ^^^^ |
| 573 |
| 574 /polymer.html_script_11.js:524: WARNING - Property is never defined on this of t
ype PolymerElement |
| 575 this._template = Polymer.DomModule.import(this.is, 'template') || |
| 576 ^^^^^^^ |
| 577 |
| 578 /polymer.html_script_11.js:528: WARNING - Property prototype never defined on th
is of type PolymerElement |
| 579 Object.getPrototypeOf(this.prototype).constructor.template; |
| 580 ^^^^^^^^^^^^^^ |
| 581 |
| 582 /polymer.html_script_11.js:546: WARNING - Property is never defined on this of t
ype PolymerElement |
| 583 const module = Polymer.DomModule.import(this.is); |
| 584 ^^^^^^^ |
| 585 |
| 586 /polymer.html_script_11.js:548: WARNING - Property prototype never defined on th
is of type PolymerElement |
| 587 Object.getPrototypeOf(this.prototype).constructor.importPath; |
| 588 ^^^^^^^^^^^^^^ |
| 589 |
| 590 /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 mos
t 2. |
| 591 importPath ? Polymer.ResolveUrl.resolveUrl(importPath) : ''; |
| 592 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 593 |
| 594 /polymer.html_script_11.js:574: WARNING - Invalid type for parameter 1 of functi
on finalizeTemplate. |
| 595 Expected : HTMLElement|null |
| 596 Found : Object|null |
| 597 More details: |
| 598 The found type is a union that includes an unexpected type: Object |
| 599 finalizeTemplate(this.__proto__, this._template, baseURI, |
| 600 ^^^^^^^^^^^^^^ |
| 601 |
| 602 /polymer.html_script_11.js:575: WARNING - Property localName never defined on th
is of type PolymerElement{_template:HTMLTemplateElement{__polymerFinalized:boole
an}, constructor:Function} |
| 603 this.localName); |
| 604 ^^^^^^^^^^^^^^ |
| 605 |
| 606 /polymer.html_script_11.js:582: WARNING - Invalid type for parameter 1 of functi
on propertyDefaultsForClass. |
| 607 Expected : HTMLElement|null |
| 608 Found : Function |
| 609 |
| 610 let p$ = propertyDefaultsForClass(this.constructor); |
| 611 ^^^^^^^^^^^^^^^^ |
| 612 |
| 613 /polymer.html_script_11.js:618: WARNING - Invalid type for parameter 1 of functi
on window.ShadyCSS.styleElement. |
| 614 Expected : HTMLElement |
| 615 Found : PolymerElement{_template:truthy} |
| 616 |
| 617 window.ShadyCSS.styleElement(this); |
| 618 ^^^^ |
| 619 |
| 620 /polymer.html_script_11.js:643: WARNING - Property $ never defined on this.root
of type DocumentFragment |
| 621 this.$ = this.root.$; |
| 622 ^^^^^^^^^^^ |
| 623 |
| 624 /polymer.html_script_11.js:676: WARNING - Missing return statement. Function exp
ected to return Node|null. |
| 625 _attachDom(dom) { |
| 626 ^^^^^^^^^^^^^^^^^ |
| 627 |
| 628 /polymer.html_script_11.js:719: WARNING - Invalid type for parameter 1 of functi
on propertiesForClass. |
| 629 Expected : HTMLElement|null |
| 630 Found : Function|null |
| 631 More details: |
| 632 The found type is a union that includes an unexpected type: Function |
| 633 let type = propertiesForClass(this.constructor)[property].type; |
| 634 ^^^^^^^^^^^^^^^^ |
| 635 |
| 636 /polymer.html_script_11.js:721: WARNING - Invalid type for parameter 1 of functi
on this._attributeToProperty. |
| 637 Expected : string |
| 638 Found : * |
| 639 |
| 640 this._attributeToProperty(name, value, type); |
| 641 ^^^^ |
| 642 |
| 643 /polymer.html_script_11.js:721: WARNING - Invalid type for parameter 2 of functi
on this._attributeToProperty. |
| 644 Expected : string |
| 645 Found : * |
| 646 |
| 647 this._attributeToProperty(name, value, type); |
| 648 ^^^^^ |
| 649 |
| 650 /polymer.html_script_11.js:744: WARNING - Invalid type for parameter 1 of functi
on window.ShadyCSS.styleSubtree. |
| 651 Expected : HTMLElement |
| 652 Found : PolymerElement |
| 653 |
| 654 window.ShadyCSS.styleSubtree(this, properties); |
| 655 ^^^^ |
| 656 |
| 657 /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 mos
t 2. |
| 658 base = Polymer.ResolveUrl.resolveUrl(this.importPath); |
| 659 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 660 |
| 661 /polymer.html_script_11.js:776: WARNING - Property _parseTemplateContent never d
efined on polymerElementBase of type polymerElementBase<|function(new:polymerEle
mentBase):?|> |
| 662 return super._parseTemplateContent(template, templateInfo, nodeInfo); |
| 663 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 664 |
| 665 /polymer.html_script_11.js:812: WARNING - Dangerous use of the global THIS objec
t |
| 666 if (this.stack.length) { |
| 667 ^^^^ |
| 668 |
| 669 /polymer.html_script_11.js:813: WARNING - Dangerous use of the global THIS objec
t |
| 670 let host = this.stack[this.stack.length-1]; |
| 671 ^^^^ |
| 672 |
| 673 /polymer.html_script_11.js:813: WARNING - Dangerous use of the global THIS objec
t |
| 674 let host = this.stack[this.stack.length-1]; |
| 675 ^^^^ |
| 676 |
| 677 /polymer.html_script_11.js:819: WARNING - Dangerous use of the global THIS objec
t |
| 678 this.stack.push(inst); |
| 679 ^^^^ |
| 680 |
| 681 /polymer.html_script_11.js:823: WARNING - Dangerous use of the global THIS objec
t |
| 682 let stackLen = this.stack.length; |
| 683 ^^^^ |
| 684 |
| 685 /polymer.html_script_11.js:824: WARNING - Dangerous use of the global THIS objec
t |
| 686 if (stackLen && this.stack[stackLen-1] == inst) { |
| 687 ^^^^ |
| 688 |
| 689 /polymer.html_script_11.js:825: WARNING - Dangerous use of the global THIS objec
t |
| 690 this.stack.pop(); |
| 691 ^^^^ |
| 692 |
| 693 /polymer.html_script_11.js:847: WARNING - Type annotation references non-existen
t type Polymer.Element. |
| 694 * @type {Array<Polymer.Element>} |
| 695 ^^^^^^^^^^^^^^^ |
| 696 |
| 697 /polymer.html_script_11.js:855: WARNING - Property is never defined on prototype
of type HTMLElement |
| 698 console.log('[' + prototype.is + ']: registered') |
| 699 ^^^^^^^^^^^^ |
| 700 |
| 701 /polymer.html_script_11.js:863: WARNING - Dangerous use of the global THIS objec
t |
| 702 this.registrations.push(prototype); |
| 703 ^^^^ |
| 704 |
| 705 /polymer.html_script_11.js:864: WARNING - Dangerous use of the global THIS objec
t |
| 706 Polymer.log && this._regLog(prototype); |
| 707 ^^^^ |
| 708 |
| 709 /polymer.html_script_11.js:871: WARNING - Dangerous use of the global THIS objec
t |
| 710 this.registrations.forEach(this._regLog); |
| 711 ^^^^ |
| 712 |
| 713 /polymer.html_script_11.js:871: WARNING - Dangerous use of the global THIS objec
t |
| 714 this.registrations.forEach(this._regLog); |
| 715 ^^^^ |
| 716 |
| 717 /polymer.html_script_12.js:60: WARNING - Type annotation references non-existent
type Polymer.Debouncer. |
| 718 * @param {Polymer.Debouncer?} debouncer Debouncer object. |
| 719 ^^^^^^^^^^^^^^^^^ |
| 720 |
| 721 /polymer.html_script_13.js:246: WARNING - Returned type does not match declared
return type. |
| 722 Expected : HTMLElement|null |
| 723 Found : Element|null |
| 724 More details: |
| 725 The found type is a union that includes an unexpected type: Element |
| 726 return node; |
| 727 ^^^^^^^^^^^^ |
| 728 |
| 729 /polymer.html_script_13.js:258: WARNING - Returned type does not match declared
return type. |
| 730 Expected : HTMLElement|null |
| 731 Found : Document|Element|ShadowRoot|Window |
| 732 More details: |
| 733 The found type is a union that includes an unexpected type: Window |
| 734 return ev.composedPath()[0]; |
| 735 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 736 |
| 737 /polymer.html_script_13.js:261: WARNING - Returned type does not match declared
return type. |
| 738 Expected : HTMLElement|null |
| 739 Found : EventTarget|null |
| 740 More details: |
| 741 The found type is a union that includes an unexpected type: EventTarget |
| 742 return ev.target; |
| 743 ^^^^^^^^^^^^^^^^^ |
| 744 |
| 745 /polymer.html_script_13.js:283: WARNING - Property changedTouches never defined
on ev of type Event |
| 746 let t = ev.changedTouches[0]; |
| 747 ^^^^^^^^^^^^^^^^^ |
| 748 |
| 749 /polymer.html_script_13.js:286: WARNING - Property touches never defined on ev o
f type Event |
| 750 if (ev.touches.length === 1) { |
| 751 ^^^^^^^^^^ |
| 752 |
| 753 /polymer.html_script_13.js:330: WARNING - Property changedTouches never defined
on ev of type Event |
| 754 let t = ev.changedTouches[0]; |
| 755 ^^^^^^^^^^^^^^^^^ |
| 756 |
| 757 /polymer.html_script_13.js:371: WARNING - Missing return statement. Function exp
ected to return boolean. |
| 758 addListener: function(node, evType, handler) { |
| 759 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 760 |
| 761 /polymer.html_script_13.js:372: WARNING - Dangerous use of the global THIS objec
t |
| 762 if (this.gestures[evType]) { |
| 763 ^^^^ |
| 764 |
| 765 /polymer.html_script_13.js:373: WARNING - Dangerous use of the global THIS objec
t |
| 766 this._add(node, evType, handler); |
| 767 ^^^^ |
| 768 |
| 769 /polymer.html_script_13.js:388: WARNING - Missing return statement. Function exp
ected to return boolean. |
| 770 removeListener: function(node, evType, handler) { |
| 771 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 772 |
| 773 /polymer.html_script_13.js:389: WARNING - Dangerous use of the global THIS objec
t |
| 774 if (this.gestures[evType]) { |
| 775 ^^^^ |
| 776 |
| 777 /polymer.html_script_13.js:390: WARNING - Dangerous use of the global THIS objec
t |
| 778 this._remove(node, evType, handler); |
| 779 ^^^^ |
| 780 |
| 781 /polymer.html_script_13.js:401: WARNING - Bad type annotation. missing opening (
See https://github.com/google/closure-compiler/wiki/Bad-Type-Annotation for mor
e information. |
| 782 * @param {function} handler Event handler function. |
| 783 ^ |
| 784 |
| 785 /polymer.html_script_13.js:404: WARNING - Dangerous use of the global THIS objec
t |
| 786 let recognizer = this.gestures[evType]; |
| 787 ^^^^ |
| 788 |
| 789 /polymer.html_script_13.js:422: WARNING - Dangerous use of the global THIS objec
t |
| 790 node.addEventListener(dep, this._handleNative); |
| 791 ^^^^ |
| 792 |
| 793 /polymer.html_script_13.js:429: WARNING - Dangerous use of the global THIS objec
t |
| 794 this.setTouchAction(node, recognizer.touchAction); |
| 795 ^^^^ |
| 796 |
| 797 /polymer.html_script_13.js:439: WARNING - Bad type annotation. missing opening (
See https://github.com/google/closure-compiler/wiki/Bad-Type-Annotation for mor
e information. |
| 798 * @param {function} handler Event handler function. |
| 799 ^ |
| 800 |
| 801 /polymer.html_script_13.js:442: WARNING - Dangerous use of the global THIS objec
t |
| 802 let recognizer = this.gestures[evType]; |
| 803 ^^^^ |
| 804 |
| 805 /polymer.html_script_13.js:454: WARNING - Dangerous use of the global THIS objec
t |
| 806 node.removeEventListener(dep, this._handleNative); |
| 807 ^^^^ |
| 808 |
| 809 /polymer.html_script_13.js:470: WARNING - Dangerous use of the global THIS objec
t |
| 810 this.recognizers.push(recog); |
| 811 ^^^^ |
| 812 |
| 813 /polymer.html_script_13.js:472: WARNING - Dangerous use of the global THIS objec
t |
| 814 this.gestures[recog.emits[i]] = recog; |
| 815 ^^^^ |
| 816 |
| 817 /polymer.html_script_13.js:482: WARNING - Dangerous use of the global THIS objec
t |
| 818 for (let i = 0, r; i < this.recognizers.length; i++) { |
| 819 ^^^^ |
| 820 |
| 821 /polymer.html_script_13.js:483: WARNING - Dangerous use of the global THIS objec
t |
| 822 r = this.recognizers[i]; |
| 823 ^^^^ |
| 824 |
| 825 /polymer.html_script_13.js:506: WARNING - Property style never defined on node o
f type Node |
| 826 node.style.touchAction = value; |
| 827 ^^^^^^^^^^ |
| 828 |
| 829 /polymer.html_script_13.js:539: WARNING - Dangerous use of the global THIS objec
t |
| 830 let recognizer = this._findRecognizerByEvent(evName); |
| 831 ^^^^ |
| 832 |
| 833 /polymer.html_script_13.js:576: WARNING - Dangerous use of the global THIS objec
t |
| 834 untrackDocument(this.info); |
| 835 ^^^^ |
| 836 |
| 837 /polymer.html_script_13.js:597: WARNING - Dangerous use of the global THIS objec
t |
| 838 trackDocument(this.info, movefn, upfn); |
| 839 ^^^^ |
| 840 |
| 841 /polymer.html_script_13.js:598: WARNING - Dangerous use of the global THIS objec
t |
| 842 this._fire('down', t, e); |
| 843 ^^^^ |
| 844 |
| 845 /polymer.html_script_13.js:601: WARNING - Dangerous use of the global THIS objec
t |
| 846 this._fire('down', Gestures._findOriginalTarget(e), e.changedTouches[0], e
); |
| 847 ^^^^ |
| 848 |
| 849 /polymer.html_script_13.js:604: WARNING - Dangerous use of the global THIS objec
t |
| 850 this._fire('up', Gestures._findOriginalTarget(e), e.changedTouches[0], e); |
| 851 ^^^^ |
| 852 |
| 853 /polymer.html_script_13.js:636: WARNING - Dangerous use of the global THIS objec
t |
| 854 if (this.moves.length > TRACK_LENGTH) { |
| 855 ^^^^ |
| 856 |
| 857 /polymer.html_script_13.js:637: WARNING - Dangerous use of the global THIS objec
t |
| 858 this.moves.shift(); |
| 859 ^^^^ |
| 860 |
| 861 /polymer.html_script_13.js:639: WARNING - Dangerous use of the global THIS objec
t |
| 862 this.moves.push(move); |
| 863 ^^^^ |
| 864 |
| 865 /polymer.html_script_13.js:647: WARNING - Dangerous use of the global THIS objec
t |
| 866 this.info.state = 'start'; |
| 867 ^^^^ |
| 868 |
| 869 /polymer.html_script_13.js:648: WARNING - Dangerous use of the global THIS objec
t |
| 870 this.info.started = false; |
| 871 ^^^^ |
| 872 |
| 873 /polymer.html_script_13.js:649: WARNING - Dangerous use of the global THIS objec
t |
| 874 this.info.moves = []; |
| 875 ^^^^ |
| 876 |
| 877 /polymer.html_script_13.js:650: WARNING - Dangerous use of the global THIS objec
t |
| 878 this.info.x = 0; |
| 879 ^^^^ |
| 880 |
| 881 /polymer.html_script_13.js:651: WARNING - Dangerous use of the global THIS objec
t |
| 882 this.info.y = 0; |
| 883 ^^^^ |
| 884 |
| 885 /polymer.html_script_13.js:652: WARNING - Dangerous use of the global THIS objec
t |
| 886 this.info.prevent = false; |
| 887 ^^^^ |
| 888 |
| 889 /polymer.html_script_13.js:653: WARNING - Dangerous use of the global THIS objec
t |
| 890 untrackDocument(this.info); |
| 891 ^^^^ |
| 892 |
| 893 /polymer.html_script_13.js:657: WARNING - Dangerous use of the global THIS objec
t |
| 894 if (this.info.prevent) { |
| 895 ^^^^ |
| 896 |
| 897 /polymer.html_script_13.js:660: WARNING - Dangerous use of the global THIS objec
t |
| 898 if (this.info.started) { |
| 899 ^^^^ |
| 900 |
| 901 /polymer.html_script_13.js:663: WARNING - Dangerous use of the global THIS objec
t |
| 902 let dx = Math.abs(this.info.x - x); |
| 903 ^^^^ |
| 904 |
| 905 /polymer.html_script_13.js:664: WARNING - Dangerous use of the global THIS objec
t |
| 906 let dy = Math.abs(this.info.y - y); |
| 907 ^^^^ |
| 908 |
| 909 /polymer.html_script_13.js:702: WARNING - Dangerous use of the global THIS objec
t |
| 910 trackDocument(this.info, movefn, upfn); |
| 911 ^^^^ |
| 912 |
| 913 /polymer.html_script_13.js:703: WARNING - Dangerous use of the global THIS objec
t |
| 914 this.info.x = e.clientX; |
| 915 ^^^^ |
| 916 |
| 917 /polymer.html_script_13.js:704: WARNING - Dangerous use of the global THIS objec
t |
| 918 this.info.y = e.clientY; |
| 919 ^^^^ |
| 920 |
| 921 /polymer.html_script_13.js:709: WARNING - Dangerous use of the global THIS objec
t |
| 922 this.info.x = ct.clientX; |
| 923 ^^^^ |
| 924 |
| 925 /polymer.html_script_13.js:710: WARNING - Dangerous use of the global THIS objec
t |
| 926 this.info.y = ct.clientY; |
| 927 ^^^^ |
| 928 |
| 929 /polymer.html_script_13.js:717: WARNING - Dangerous use of the global THIS objec
t |
| 930 if (this.hasMovedEnough(x, y)) { |
| 931 ^^^^ |
| 932 |
| 933 /polymer.html_script_13.js:718: WARNING - Dangerous use of the global THIS objec
t |
| 934 if (this.info.state === 'start') { |
| 935 ^^^^ |
| 936 |
| 937 /polymer.html_script_13.js:722: WARNING - Dangerous use of the global THIS objec
t |
| 938 this.info.addMove({x: x, y: y}); |
| 939 ^^^^ |
| 940 |
| 941 /polymer.html_script_13.js:723: WARNING - Dangerous use of the global THIS objec
t |
| 942 this._fire(t, ct); |
| 943 ^^^^ |
| 944 |
| 945 /polymer.html_script_13.js:724: WARNING - Dangerous use of the global THIS objec
t |
| 946 this.info.state = 'track'; |
| 947 ^^^^ |
| 948 |
| 949 /polymer.html_script_13.js:725: WARNING - Dangerous use of the global THIS objec
t |
| 950 this.info.started = true; |
| 951 ^^^^ |
| 952 |
| 953 /polymer.html_script_13.js:733: WARNING - Dangerous use of the global THIS objec
t |
| 954 if (this.info.started) { |
| 955 ^^^^ |
| 956 |
| 957 /polymer.html_script_13.js:735: WARNING - Dangerous use of the global THIS objec
t |
| 958 this.info.state = 'end'; |
| 959 ^^^^ |
| 960 |
| 961 /polymer.html_script_13.js:736: WARNING - Dangerous use of the global THIS objec
t |
| 962 this.info.addMove({x: ct.clientX, y: ct.clientY}); |
| 963 ^^^^ |
| 964 |
| 965 /polymer.html_script_13.js:737: WARNING - Dangerous use of the global THIS objec
t |
| 966 this._fire(t, ct, e); |
| 967 ^^^^ |
| 968 |
| 969 /polymer.html_script_13.js:742: WARNING - Dangerous use of the global THIS objec
t |
| 970 let secondlast = this.info.moves[this.info.moves.length - 2]; |
| 971 ^^^^ |
| 972 |
| 973 /polymer.html_script_13.js:742: WARNING - Dangerous use of the global THIS objec
t |
| 974 let secondlast = this.info.moves[this.info.moves.length - 2]; |
| 975 ^^^^ |
| 976 |
| 977 /polymer.html_script_13.js:743: WARNING - Dangerous use of the global THIS objec
t |
| 978 let lastmove = this.info.moves[this.info.moves.length - 1]; |
| 979 ^^^^ |
| 980 |
| 981 /polymer.html_script_13.js:743: WARNING - Dangerous use of the global THIS objec
t |
| 982 let lastmove = this.info.moves[this.info.moves.length - 1]; |
| 983 ^^^^ |
| 984 |
| 985 /polymer.html_script_13.js:744: WARNING - Dangerous use of the global THIS objec
t |
| 986 let dx = lastmove.x - this.info.x; |
| 987 ^^^^ |
| 988 |
| 989 /polymer.html_script_13.js:745: WARNING - Dangerous use of the global THIS objec
t |
| 990 let dy = lastmove.y - this.info.y; |
| 991 ^^^^ |
| 992 |
| 993 /polymer.html_script_13.js:752: WARNING - Dangerous use of the global THIS objec
t |
| 994 state: this.info.state, |
| 995 ^^^^ |
| 996 |
| 997 /polymer.html_script_13.js:782: WARNING - Dangerous use of the global THIS objec
t |
| 998 this.info.x = NaN; |
| 999 ^^^^ |
| 1000 |
| 1001 /polymer.html_script_13.js:783: WARNING - Dangerous use of the global THIS objec
t |
| 1002 this.info.y = NaN; |
| 1003 ^^^^ |
| 1004 |
| 1005 /polymer.html_script_13.js:784: WARNING - Dangerous use of the global THIS objec
t |
| 1006 this.info.prevent = false; |
| 1007 ^^^^ |
| 1008 |
| 1009 /polymer.html_script_13.js:787: WARNING - Dangerous use of the global THIS objec
t |
| 1010 this.info.x = e.clientX; |
| 1011 ^^^^ |
| 1012 |
| 1013 /polymer.html_script_13.js:788: WARNING - Dangerous use of the global THIS objec
t |
| 1014 this.info.y = e.clientY; |
| 1015 ^^^^ |
| 1016 |
| 1017 /polymer.html_script_13.js:793: WARNING - Dangerous use of the global THIS objec
t |
| 1018 this.save(e); |
| 1019 ^^^^ |
| 1020 |
| 1021 /polymer.html_script_13.js:798: WARNING - Dangerous use of the global THIS objec
t |
| 1022 this.forward(e); |
| 1023 ^^^^ |
| 1024 |
| 1025 /polymer.html_script_13.js:803: WARNING - Dangerous use of the global THIS objec
t |
| 1026 this.save(e.changedTouches[0], e); |
| 1027 ^^^^ |
| 1028 |
| 1029 /polymer.html_script_13.js:806: WARNING - Dangerous use of the global THIS objec
t |
| 1030 this.forward(e.changedTouches[0], e); |
| 1031 ^^^^ |
| 1032 |
| 1033 /polymer.html_script_13.js:810: WARNING - Dangerous use of the global THIS objec
t |
| 1034 let dx = Math.abs(e.clientX - this.info.x); |
| 1035 ^^^^ |
| 1036 |
| 1037 /polymer.html_script_13.js:811: WARNING - Dangerous use of the global THIS objec
t |
| 1038 let dy = Math.abs(e.clientY - this.info.y); |
| 1039 ^^^^ |
| 1040 |
| 1041 /polymer.html_script_13.js:816: WARNING - Dangerous use of the global THIS objec
t |
| 1042 if (!this.info.prevent) { |
| 1043 ^^^^ |
| 1044 |
| 1045 /polymer.html_script_14.js:6: WARNING - All constants must be typed. The compile
r could not infer the type of constant gestures. Please use an explicit type ann
otation. For more information, see: |
| 1046 https://github.com/google/closure-compiler/wiki/Using-NTI-(new-type-inference)#w
arnings-about-uninferred-constants |
| 1047 const gestures = Polymer.Gestures; |
| 1048 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 1049 |
| 1050 /polymer.html_script_14.js:28: WARNING - GestureEventListeners extends non-objec
t type ?. |
| 1051 |
| 1052 class GestureEventListeners extends superClass { |
| 1053 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 1054 |
| 1055 /polymer.html_script_15.js:91: WARNING - Returned type does not match declared r
eturn type. |
| 1056 Expected : HTMLLinkElement|null |
| 1057 Found : Element{__dynamicImportLoaded:truthy=, href:string=, parentNode:Node|
null, rel:string=} |
| 1058 |
| 1059 return link; |
| 1060 ^^^^^^^^^^^^ |
| 1061 |
| 1062 /polymer.html_script_18.js:51: WARNING - Dangerous use of the global THIS object |
| 1063 if (this.equals(current[currentStart + j - 1], old[oldStart + i - 1])) |
| 1064 ^^^^ |
| 1065 |
| 1066 /polymer.html_script_18.js:166: WARNING - Dangerous use of the global THIS objec
t |
| 1067 prefixCount = this.sharedPrefix(current, old, minLength); |
| 1068 ^^^^ |
| 1069 |
| 1070 /polymer.html_script_18.js:169: WARNING - Dangerous use of the global THIS objec
t |
| 1071 suffixCount = this.sharedSuffix(current, old, minLength - prefixCount); |
| 1072 ^^^^ |
| 1073 |
| 1074 /polymer.html_script_18.js:188: WARNING - Dangerous use of the global THIS objec
t |
| 1075 let ops = this.spliceOperationsFromEditDistances( |
| 1076 ^^^^ |
| 1077 |
| 1078 /polymer.html_script_18.js:189: WARNING - Dangerous use of the global THIS objec
t |
| 1079 this.calcEditDistances(current, currentStart, currentEnd, |
| 1080 ^^^^ |
| 1081 |
| 1082 /polymer.html_script_18.js:242: WARNING - Dangerous use of the global THIS objec
t |
| 1083 if (!this.equals(current[i], old[i])) |
| 1084 ^^^^ |
| 1085 |
| 1086 /polymer.html_script_18.js:251: WARNING - Dangerous use of the global THIS objec
t |
| 1087 while (count < searchLength && this.equals(current[--index1], old[--index2
])) |
| 1088 ^^^^ |
| 1089 |
| 1090 /polymer.html_script_18.js:258: WARNING - Dangerous use of the global THIS objec
t |
| 1091 return this.calcSplices(current, 0, current.length, previous, 0, |
| 1092 ^^^^ |
| 1093 |
| 1094 /polymer.html_script_19.js:36: WARNING - Misplaced function annotation. This JSD
oc is not attached to a function node. Are you missing parentheses? |
| 1095 class FlattenedNodesObserver { |
| 1096 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 1097 |
| 1098 /polymer.html_script_19.js:51: WARNING - Invalid type for parameter 1 of functio
n isSlot. |
| 1099 Expected : {localName:?} (loose) |
| 1100 Found : Node|null |
| 1101 More details: |
| 1102 The found type is a union that includes an unexpected type: null |
| 1103 if (isSlot(node)) { |
| 1104 ^^^^ |
| 1105 |
| 1106 /polymer.html_script_19.js:52: WARNING - Property assignedNodes never defined on
node of type Node |
| 1107 return node.assignedNodes({flatten: true}); |
| 1108 ^^^^^^^^^^^^^^^^^^ |
| 1109 |
| 1110 /polymer.html_script_19.js:166: WARNING - Returned type does not match declared
return type. |
| 1111 Expected : boolean |
| 1112 Found : undefined |
| 1113 |
| 1114 return; |
| 1115 ^^^^^^^ |
| 1116 |
| 1117 /polymer.html_script_21.js:6: WARNING - All constants must be typed. The compile
r could not infer the type of constant normalizedMatchesSelector. Please use an
explicit type annotation. For more information, see: |
| 1118 https://github.com/google/closure-compiler/wiki/Using-NTI-(new-type-inference)#w
arnings-about-uninferred-constants |
| 1119 const normalizedMatchesSelector = p.matches || p.matchesSelector || |
| 1120 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 1121 |
| 1122 /polymer.html_script_21.js:140: WARNING - Type annotation references non-existen
t type type. |
| 1123 * @return {type} Description |
| 1124 ^^^^ |
| 1125 |
| 1126 /polymer.html_script_21.js:181: WARNING - Dangerous use of the global THIS objec
t |
| 1127 return this.node[method].apply(this.node, arguments); |
| 1128 ^^^^ |
| 1129 |
| 1130 /polymer.html_script_21.js:181: WARNING - Dangerous use of the global THIS objec
t |
| 1131 return this.node[method].apply(this.node, arguments); |
| 1132 ^^^^ |
| 1133 |
| 1134 /polymer.html_script_21.js:191: WARNING - Dangerous use of the global THIS objec
t |
| 1135 return this.node[name]; |
| 1136 ^^^^ |
| 1137 |
| 1138 /polymer.html_script_21.js:203: WARNING - Dangerous use of the global THIS objec
t |
| 1139 return this.node[name]; |
| 1140 ^^^^ |
| 1141 |
| 1142 /polymer.html_script_21.js:206: WARNING - Dangerous use of the global THIS objec
t |
| 1143 this.node[name] = value; |
| 1144 ^^^^ |
| 1145 |
| 1146 /polymer.html_script_21.js:320: WARNING - Property polyfillWrapFlushCallback nev
er defined on window.customElements of type CustomElementRegistry |
| 1147 !(window.customElements.polyfillWrapFlushCallback); |
| 1148 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 1149 |
| 1150 /polymer.html_script_22.js:30: WARNING - legacyElementBase extends non-object ty
pe ?. |
| 1151 |
| 1152 const legacyElementBase = Polymer.GestureEventListeners(Polymer.ElementMixin
(base)); |
| 1153 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^ |
| 1154 |
| 1155 /polymer.html_script_22.js:45: WARNING - Cannot implement non-interface ? |
| 1156 * @implements {Polymer_LegacyElement} |
| 1157 ^ |
| 1158 |
| 1159 /polymer.html_script_22.js:45: WARNING - Type annotation references non-existent
type Polymer_LegacyElement. |
| 1160 * @implements {Polymer_LegacyElement} |
| 1161 ^^^^^^^^^^^^^^^^^^^^^ |
| 1162 |
| 1163 /polymer.html_script_22.js:63: WARNING - Cannot add property isAttached to a str
uct instance after it is constructed. |
| 1164 this.isAttached = true; |
| 1165 ^^^^^^^^^^^^^^^ |
| 1166 |
| 1167 /polymer.html_script_22.js:75: WARNING - Cannot add property isAttached to a str
uct instance after it is constructed. |
| 1168 this.isAttached = false; |
| 1169 ^^^^^^^^^^^^^^^ |
| 1170 |
| 1171 /polymer.html_script_22.js:88: WARNING - Function this.attributeChanged: called
with 3 argument(s). Function requires at least 0 argument(s) and at most 0. |
| 1172 this.attributeChanged(name, old, value); |
| 1173 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 1174 |
| 1175 /polymer.html_script_22.js:172: WARNING - Returned type does not match declared
return type. |
| 1176 Expected : string |
| 1177 Found : string|undefined |
| 1178 More details: |
| 1179 The found type is a union that includes an unexpected type: undefined |
| 1180 return this._serializeValue(value); |
| 1181 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 1182 |
| 1183 /polymer.html_script_22.js:217: WARNING - Invalid type for parameter 1 of functi
on this._valueToNodeAttribute. |
| 1184 Expected : Element|null |
| 1185 Found : Element|LegacyElement |
| 1186 More details: |
| 1187 The found type is a union that includes an unexpected type: LegacyElement |
| 1188 this._valueToNodeAttribute(node || this, value, attribute); |
| 1189 ^^^^^^^^^^^^ |
| 1190 |
| 1191 /polymer.html_script_22.js:314: WARNING - Property cancelable never defined on o
ptions of type {bubbles:boolean|undefined} |
| 1192 cancelable: Boolean(options.cancelable), |
| 1193 ^^^^^^^^^^^^^^^^^^ |
| 1194 |
| 1195 /polymer.html_script_22.js:332: WARNING - The right side in the assignment is no
t a subtype of the left side. |
| 1196 Expected : Element|null |
| 1197 Found : Element|LegacyElement |
| 1198 More details: |
| 1199 The found type is a union that includes an unexpected type: LegacyElement |
| 1200 node = node || this; |
| 1201 ^^^^^^^^^^^^^^^^^^^ |
| 1202 |
| 1203 /polymer.html_script_22.js:334: WARNING - Cannot add property __boundListeners t
o a struct instance after it is constructed. |
| 1204 (this.__boundListeners = new WeakMap()); |
| 1205 ^^^^^^^^^^^^^^^^^^^^^ |
| 1206 |
| 1207 /polymer.html_script_22.js:357: WARNING - The right side in the assignment is no
t a subtype of the left side. |
| 1208 Expected : Element|null |
| 1209 Found : Element|LegacyElement |
| 1210 More details: |
| 1211 The found type is a union that includes an unexpected type: LegacyElement |
| 1212 node = node || this; |
| 1213 ^^^^^^^^^^^^^^^^^^^ |
| 1214 |
| 1215 /polymer.html_script_22.js:404: WARNING - Property getRootNode never defined on
this of type LegacyElement |
| 1216 let root = this.getRootNode(); |
| 1217 ^^^^^^^^^^^^^^^^ |
| 1218 |
| 1219 /polymer.html_script_22.js:405: WARNING - Property host never defined on root of
type DocumentFragment |
| 1220 return (root instanceof DocumentFragment) ? root.host : root; |
| 1221 ^^^^^^^^^ |
| 1222 |
| 1223 /polymer.html_script_22.js:418: WARNING - Property forceRender never defined on
any type in the program |
| 1224 this.shadowRoot.forceRender(); |
| 1225 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 1226 |
| 1227 /polymer.html_script_22.js:431: WARNING - Property getEffectiveChildNodes may no
t be present on DomApi|EventApi. |
| 1228 return Polymer.dom(this).getEffectiveChildNodes(); |
| 1229 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 1230 |
| 1231 /polymer.html_script_22.js:431: WARNING - Invalid type for parameter 1 of functi
on Polymer.dom. |
| 1232 Expected : Event|Node|null |
| 1233 Found : LegacyElement |
| 1234 |
| 1235 return Polymer.dom(this).getEffectiveChildNodes(); |
| 1236 ^^^^ |
| 1237 |
| 1238 /polymer.html_script_22.js:442: WARNING - Property queryDistributedElements may
not be present on DomApi|EventApi. |
| 1239 return Polymer.dom(this).queryDistributedElements(selector); |
| 1240 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 1241 |
| 1242 /polymer.html_script_22.js:442: WARNING - Invalid type for parameter 1 of functi
on Polymer.dom. |
| 1243 Expected : Event|Node|null |
| 1244 Found : LegacyElement |
| 1245 |
| 1246 return Polymer.dom(this).queryDistributedElements(selector); |
| 1247 ^^^^ |
| 1248 |
| 1249 /polymer.html_script_22.js:455: WARNING - Invalid type for parameter 1 of functi
on list.filter. |
| 1250 Expected : function(this:?,Node|null,number,Array<Node|null>):?|null |
| 1251 Found : function({nodeType:?} (loose)):boolean |
| 1252 |
| 1253 return list.filter(function(n) { |
| 1254 ^^^^^^^^^^^^^ |
| 1255 |
| 1256 /polymer.html_script_22.js:513: WARNING - Property getDistributedNodes may not b
e present on DomApi|EventApi. |
| 1257 return content ? Polymer.dom(content).getDistributedNodes() : []; |
| 1258 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 1259 |
| 1260 /polymer.html_script_22.js:543: WARNING - Cannot perform strict equality / inequ
ality comparisons on incompatible types: |
| 1261 left : LegacyElement |
| 1262 right: Node|null |
| 1263 return this !== node && this.contains(node) && |
| 1264 ^^^^ |
| 1265 |
| 1266 /polymer.html_script_22.js:543: WARNING - Property contains never defined on thi
s of type LegacyElement |
| 1267 return this !== node && this.contains(node) && |
| 1268 ^^^^^^^^^^^^^ |
| 1269 |
| 1270 /polymer.html_script_22.js:544: WARNING - Property getRootNode never defined on
this of type LegacyElement |
| 1271 this.getRootNode() === node.getRootNode(); |
| 1272 ^^^^^^^^^^^^^^^^ |
| 1273 |
| 1274 /polymer.html_script_22.js:598: WARNING - Cannot add property _debouncers to a s
truct instance after it is constructed. |
| 1275 this._debouncers = this._debouncers || {}; |
| 1276 ^^^^^^^^^^^^^^^^ |
| 1277 |
| 1278 /polymer.html_script_22.js:612: WARNING - Cannot add property _debouncers to a s
truct instance after it is constructed. |
| 1279 this._debouncers = this._debouncers || {}; |
| 1280 ^^^^^^^^^^^^^^^^ |
| 1281 |
| 1282 /polymer.html_script_22.js:623: WARNING - Cannot add property _debouncers to a s
truct instance after it is constructed. |
| 1283 this._debouncers = this._debouncers || {}; |
| 1284 ^^^^^^^^^^^^^^^^ |
| 1285 |
| 1286 /polymer.html_script_22.js:636: WARNING - Cannot add property _debouncers to a s
truct instance after it is constructed. |
| 1287 this._debouncers = this._debouncers || {} |
| 1288 ^^^^^^^^^^^^^^^^ |
| 1289 |
| 1290 /polymer.html_script_22.js:657: WARNING - Invalid type(s) for operator BITNOT. |
| 1291 Expected : number |
| 1292 Found : * |
| 1293 |
| 1294 ~Polymer.Async.microTask.run(callback.bind(this)); |
| 1295 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 1296 |
| 1297 /polymer.html_script_22.js:727: WARNING - Invalid type for parameter 1 of functi
on Polymer.dom.matchesSelector. |
| 1298 Expected : Node|null |
| 1299 Found : Element|LegacyElement |
| 1300 More details: |
| 1301 The found type is a union that includes an unexpected type: LegacyElement |
| 1302 return Polymer.dom.matchesSelector(node || this, selector); |
| 1303 ^^^^^^^^^^^^ |
| 1304 |
| 1305 /polymer.html_script_22.js:739: WARNING - The right side in the assignment is no
t a subtype of the left side. |
| 1306 Expected : HTMLElement|null|undefined |
| 1307 Found : HTMLElement|LegacyElement |
| 1308 More details: |
| 1309 The found type is a union that includes an unexpected type: LegacyElement |
| 1310 node = node || this; |
| 1311 ^^^^^^^^^^^^^^^^^^^ |
| 1312 |
| 1313 /polymer.html_script_22.js:760: WARNING - The right side in the assignment is no
t a subtype of the left side. |
| 1314 Expected : HTMLElement|null|undefined |
| 1315 Found : HTMLElement|LegacyElement |
| 1316 More details: |
| 1317 The found type is a union that includes an unexpected type: LegacyElement |
| 1318 node = node || this; |
| 1319 ^^^^^^^^^^^^^^^^^^^ |
| 1320 |
| 1321 /polymer.html_script_22.js:779: WARNING - The right side in the assignment is no
t a subtype of the left side. |
| 1322 Expected : HTMLElement|null|undefined |
| 1323 Found : HTMLElement|LegacyElement |
| 1324 More details: |
| 1325 The found type is a union that includes an unexpected type: LegacyElement |
| 1326 node = node || this; |
| 1327 ^^^^^^^^^^^^^^^^^^^ |
| 1328 |
| 1329 /polymer.html_script_22.js:795: WARNING - The right side in the assignment is no
t a subtype of the left side. |
| 1330 Expected : HTMLElement|null|undefined |
| 1331 Found : HTMLElement|LegacyElement |
| 1332 More details: |
| 1333 The found type is a union that includes an unexpected type: LegacyElement |
| 1334 node = node || this; |
| 1335 ^^^^^^^^^^^^^^^^^^^ |
| 1336 |
| 1337 /polymer.html_script_22.js:825: WARNING - Function this.splice: called with 3 ar
gument(s). Function requires at least 4 argument(s) and at most 4. |
| 1338 return this.splice(arrayOrPath, index, 1); |
| 1339 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 1340 |
| 1341 /polymer.html_script_22.js:857: WARNING - parameter var_args does not appear in
LegacyElement.prototype._log's parameter list |
| 1342 _log(...args) { |
| 1343 ^^^^^^^^^^^^^^^ |
| 1344 |
| 1345 /polymer.html_script_22.js:866: WARNING - parameter var_args does not appear in
LegacyElement.prototype._warn's parameter list |
| 1346 _warn(...args) { |
| 1347 ^^^^^^^^^^^^^^^^ |
| 1348 |
| 1349 /polymer.html_script_22.js:875: WARNING - parameter var_args does not appear in
LegacyElement.prototype._error's parameter list |
| 1350 _error(...args) { |
| 1351 ^^^^^^^^^^^^^^^^^ |
| 1352 |
| 1353 /polymer.html_script_22.js:887: WARNING - parameter methodName does not appear i
n LegacyElement.prototype._logf's parameter list |
| 1354 _logf(...args) { |
| 1355 ^^^^^^^^^^^^^^^^ |
| 1356 |
| 1357 /polymer.html_script_22.js:887: WARNING - parameter var_args does not appear in
LegacyElement.prototype._logf's parameter list |
| 1358 _logf(...args) { |
| 1359 ^^^^^^^^^^^^^^^^ |
| 1360 |
| 1361 /polymer.html_script_22.js:888: WARNING - Returned type does not match declared
return type. |
| 1362 Expected : string |
| 1363 Found : Array<?> |
| 1364 |
| 1365 return ['[%s::%s]', this.is, ...args]; |
| 1366 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 1367 |
| 1368 /polymer.html_script_22.js:888: WARNING - Property is never defined on this of t
ype LegacyElement |
| 1369 return ['[%s::%s]', this.is, ...args]; |
| 1370 ^^^^^^^ |
| 1371 |
| 1372 /polymer.html_script_23.js:49: WARNING - Invalid type for parameter 1 of functio
n _mixinBehaviors. |
| 1373 Expected : {length:?} (loose) |
| 1374 Found : Array<?>|null |
| 1375 More details: |
| 1376 The found type is a union that includes an unexpected type: null |
| 1377 klass = _mixinBehaviors(behaviors, klass); |
| 1378 ^^^^^^^^^ |
| 1379 |
| 1380 /polymer.html_script_23.js:141: WARNING - Property is never defined on this of t
ype PolymerGenerated |
| 1381 Polymer.DomModule.import(this.is, 'template') || |
| 1382 ^^^^^^^ |
| 1383 |
| 1384 /polymer.html_script_23.js:146: WARNING - Property prototype never defined on th
is of type PolymerGenerated |
| 1385 this.prototype._template; |
| 1386 ^^^^^^^^^^^^^^ |
| 1387 |
| 1388 /polymer.html_script_23.js:177: WARNING - Property _addMethodEventListenerToNode
never defined on this of type PolymerGenerated |
| 1389 this._addMethodEventListenerToNode(this, l, info.listeners[l]); |
| 1390 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 1391 |
| 1392 /polymer.html_script_23.js:188: WARNING - Property _ensureAttribute never define
d on this of type PolymerGenerated |
| 1393 this._ensureAttribute(a, info.hostAttributes[a]); |
| 1394 ^^^^^^^^^^^^^^^^^^^^^ |
| 1395 |
| 1396 /polymer.html_script_23.js:304: WARNING - Type annotation references non-existen
t type Polymer.LegacyElement. |
| 1397 * @return {Polymer.LegacyElement} Generated class |
| 1398 ^^^^^^^^^^^^^^^^^^^^^ |
| 1399 |
| 1400 /polymer.html_script_23.js:313: WARNING - Invalid type for parameter 2 of functi
on mixinBehaviors. |
| 1401 Expected : HTMLElement|null |
| 1402 Found : HTMLElement<|function(new:HTMLElement):?|> |
| 1403 |
| 1404 mixinBehaviors(info.behaviors, HTMLElement) : |
| 1405 ^^^^^^^^^^^ |
| 1406 |
| 1407 /polymer.html_script_23.js:316: WARNING - Property is never defined on info of t
ype Object |
| 1408 klass.is = info.is; |
| 1409 ^^^^^^^ |
| 1410 |
| 1411 /polymer.html_script_24.js:19: WARNING - Type annotation references non-existent
type Polymer.LegacyElement. |
| 1412 * @return {Polymer.LegacyElement} Generated class |
| 1413 ^^^^^^^^^^^^^^^^^^^^^ |
| 1414 |
| 1415 /polymer.html_script_24.js:21: WARNING - Found two declarations for property _po
lymerFn on window.Polymer. |
| 1416 |
| 1417 window.Polymer._polymerFn = function(info) { |
| 1418 ^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 1419 |
| 1420 /polymer.html_script_25.js:67: WARNING - MutableData extends non-object type ?. |
| 1421 |
| 1422 class MutableData extends superClass { |
| 1423 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 1424 |
| 1425 /polymer.html_script_25.js:138: WARNING - OptionalMutableData extends non-object
type ?. |
| 1426 |
| 1427 class OptionalMutableData extends superClass { |
| 1428 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 1429 |
| 1430 /polymer.html_script_25.js:170: WARNING - Property mutableData never defined on
this of type OptionalMutableData |
| 1431 return mutablePropertyChange(this, property, value, old, this.mutableDat
a); |
| 1432 ^^^^^^^^^^^^^^^
^ |
| 1433 |
| 1434 /polymer.html_script_26.js:17: WARNING - All constants must be typed. The compil
er could not infer the type of constant DataTemplate. Please use an explicit typ
e annotation. For more information, see: |
| 1435 https://github.com/google/closure-compiler/wiki/Using-NTI-(new-type-inference)#w
arnings-about-uninferred-constants |
| 1436 const DataTemplate = Polymer.PropertyEffects(HTMLTemplateElementExtension); |
| 1437 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 1438 |
| 1439 /polymer.html_script_26.js:18: WARNING - All constants must be typed. The compil
er could not infer the type of constant MutableDataTemplate. Please use an expli
cit type annotation. For more information, see: |
| 1440 https://github.com/google/closure-compiler/wiki/Using-NTI-(new-type-inference)#w
arnings-about-uninferred-constants |
| 1441 const MutableDataTemplate = Polymer.MutableData(DataTemplate); |
| 1442 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 1443 |
| 1444 /polymer.html_script_26.js:38: WARNING - Property __dataHost never defined on th
is of type TemplateInstanceBase |
| 1445 this.root = this._stampTemplate(this.__dataHost); |
| 1446 ^^^^^^^^^^^^^^^ |
| 1447 |
| 1448 /polymer.html_script_26.js:45: WARNING - Property __templatizeOwner never define
d on this of type TemplateInstanceBase{children:Array<?>, root:DocumentFragment} |
| 1449 if (this.__templatizeOwner.__hideTemplateChildren__) { |
| 1450 ^^^^^^^^^^^^^^^^^^^^^^ |
| 1451 |
| 1452 /polymer.html_script_26.js:50: WARNING - Property __templatizeOptions never defi
ned on this of type TemplateInstanceBase{children:Array<?>, root:DocumentFragmen
t} |
| 1453 let options = this.__templatizeOptions; |
| 1454 ^^^^^^^^^^^^^^^^^^^^^^^^ |
| 1455 |
| 1456 /polymer.html_script_26.js:62: WARNING - Property __templatizeOptions never defi
ned on this of type TemplateInstanceBase |
| 1457 let options = this.__templatizeOptions; |
| 1458 ^^^^^^^^^^^^^^^^^^^^^^^^ |
| 1459 |
| 1460 /polymer.html_script_26.js:66: WARNING - Function this._setPendingProperty: call
ed with 2 argument(s). Function requires at least 3 argument(s) and at most 3. |
| 1461 this._setPendingProperty(iprop, props[iprop]); |
| 1462 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 1463 |
| 1464 /polymer.html_script_26.js:70: WARNING - Property __hostProps never defined on t
his of type TemplateInstanceBase |
| 1465 for (let hprop in this.__hostProps) { |
| 1466 ^^^^^^^^^^^^^^^^ |
| 1467 |
| 1468 /polymer.html_script_26.js:71: WARNING - Function this._setPendingProperty: call
ed with 2 argument(s). Function requires at least 3 argument(s) and at most 3. |
| 1469 this._setPendingProperty(hprop, this.__dataHost['_host_' + hprop]); |
| 1470 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 1471 |
| 1472 /polymer.html_script_26.js:71: WARNING - Property __dataHost never defined on th
is of type TemplateInstanceBase |
| 1473 this._setPendingProperty(hprop, this.__dataHost['_host_' + hprop]); |
| 1474 ^^^^^^^^^^^^^^^ |
| 1475 |
| 1476 /polymer.html_script_26.js:86: WARNING - Property __dataHost never defined on th
is of type TemplateInstanceBase |
| 1477 this.__dataHost._enqueueClient(this); |
| 1478 ^^^^^^^^^^^^^^^ |
| 1479 |
| 1480 /polymer.html_script_26.js:93: WARNING - Property __templatizeOptions never defi
ned on this of type TemplateInstanceBase{_methodHost:truthy} |
| 1481 if (this._methodHost && this.__templatizeOptions.parentModel) { |
| 1482 ^^^^^^^^^^^^^^^^^^^^^^^^ |
| 1483 |
| 1484 /polymer.html_script_26.js:103: WARNING - Property __dataHost never defined on t
his of type TemplateInstanceBase{_methodHost:truthy=} |
| 1485 let templateHost = this.__dataHost.__dataHost; |
| 1486 ^^^^^^^^^^^^^^^ |
| 1487 |
| 1488 /polymer.html_script_26.js:165: WARNING - Type annotation references non-existen
t type Polymer.PropertyEffectsInterface. |
| 1489 * @return {Polymer.PropertyEffectsInterface} The parent model of this ins
tance |
| 1490 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 1491 |
| 1492 /polymer.html_script_26.js:168: WARNING - Property __parentModel never defined o
n this of type TemplateInstanceBase |
| 1493 let model = this.__parentModel; |
| 1494 ^^^^^^^^^^^^^^^^^^ |
| 1495 |
| 1496 /polymer.html_script_26.js:175: WARNING - Property __dataHost never defined on m
odel of type TemplateInstanceBase |
| 1497 model = model.__dataHost.__dataHost; |
| 1498 ^^^^^^^^^^^^^^^^ |
| 1499 |
| 1500 /polymer.html_script_26.js:177: WARNING - Cannot add property __parentModel to a
struct instance after it is constructed. |
| 1501 this.__parentModel = model; |
| 1502 ^^^^^^^^^^^^^^^^^^ |
| 1503 |
| 1504 /polymer.html_script_26.js:183: WARNING - All constants must be typed. The compi
ler could not infer the type of constant MutableTemplateInstanceBase. Please use
an explicit type annotation. For more information, see: |
| 1505 https://github.com/google/closure-compiler/wiki/Using-NTI-(new-type-inference)#w
arnings-about-uninferred-constants |
| 1506 const MutableTemplateInstanceBase = Polymer.MutableData(TemplateInstanceBase
); |
| 1507 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^ |
| 1508 |
| 1509 /polymer.html_script_26.js:204: WARNING - Property _bindTemplate never defined o
n klass.prototype of type klass.prototype |
| 1510 klass.prototype._bindTemplate(template); |
| 1511 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 1512 |
| 1513 /polymer.html_script_26.js:222: WARNING - Property _addPropertyEffect never defi
ned on klass.prototype of type $polymer_html_script_26$classdecl$var1.prototype |
| 1514 klass.prototype._addPropertyEffect('_host_' + prop, |
| 1515 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 1516 |
| 1517 /polymer.html_script_26.js:223: WARNING - Property PROPERTY_EFFECT_TYPES never d
efined on klass.prototype of type $polymer_html_script_26$classdecl$var1.prototy
pe |
| 1518 klass.prototype.PROPERTY_EFFECT_TYPES.PROPAGATE, |
| 1519 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 1520 |
| 1521 /polymer.html_script_26.js:225: WARNING - Property _createNotifyingProperty neve
r defined on klass.prototype of type $polymer_html_script_26$classdecl$var1.prot
otype |
| 1522 klass.prototype._createNotifyingProperty('_host_' + prop); |
| 1523 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 1524 |
| 1525 /polymer.html_script_26.js:391: WARNING - Cannot access property constructor of
non-object type *. |
| 1526 let templateInfo = owner.constructor._parseTemplate(template); |
| 1527 ^^^^^ |
| 1528 |
| 1529 /polymer.html_script_26.js:396: WARNING - Invalid type for parameter 3 of functi
on createTemplatizerClass. |
| 1530 Expected : Object |
| 1531 Found : * |
| 1532 |
| 1533 baseClass = createTemplatizerClass(template, templateInfo, options); |
| 1534 ^^^^^^^ |
| 1535 |
| 1536 /polymer.html_script_26.js:400: WARNING - Invalid type for parameter 3 of functi
on addPropagateEffects. |
| 1537 Expected : {forwardHostProp:?} (loose) |
| 1538 Found : * |
| 1539 |
| 1540 addPropagateEffects(template, templateInfo, options); |
| 1541 ^^^^^^^ |
| 1542 |
| 1543 /polymer.html_script_26.js:407: WARNING - Returned type does not match declared
return type. |
| 1544 Expected : TemplateInstanceBase|null |
| 1545 Found : $polymer_html_script_26$classdecl$var2<|function(new:$polymer_html_sc
ript_26$classdecl$var2,...?):undefined|>{prototype:$polymer_html_script_26$class
decl$var2.prototype} |
| 1546 |
| 1547 return klass; |
| 1548 ^^^^^^^^^^^^^ |
| 1549 |
| 1550 /polymer.html_script_26.js:448: WARNING - The right side in the assignment is no
t a subtype of the left side. |
| 1551 Expected : HTMLElement|null |
| 1552 Found : Node|null |
| 1553 More details: |
| 1554 The found type is a union that includes an unexpected type: Node |
| 1555 el = el.parentNode; |
| 1556 ^^^^^^^^^^^^^^^^^^ |
| 1557 |
| 1558 /polymer.html_script_27.js:80: WARNING - Dangerous use of the global THIS object |
| 1559 this._templatizerTemplate = template; |
| 1560 ^^^^ |
| 1561 |
| 1562 /polymer.html_script_27.js:81: WARNING - Dangerous use of the global THIS object |
| 1563 this.ctor = Polymer.Templatize.templatize(template, this, { |
| 1564 ^^^^ |
| 1565 |
| 1566 /polymer.html_script_27.js:83: WARNING - Dangerous use of the global THIS object |
| 1567 parentModel: this._parentModel, |
| 1568 ^^^^ |
| 1569 |
| 1570 /polymer.html_script_27.js:83: WARNING - Property _parentModel never defined on
any type in the program |
| 1571 parentModel: this._parentModel, |
| 1572 ^^^^^^^^^^^^^^^^^ |
| 1573 |
| 1574 /polymer.html_script_27.js:84: WARNING - Dangerous use of the global THIS object |
| 1575 instanceProps: this._instanceProps, |
| 1576 ^^^^ |
| 1577 |
| 1578 /polymer.html_script_27.js:84: WARNING - Property _instanceProps never defined o
n any type in the program |
| 1579 instanceProps: this._instanceProps, |
| 1580 ^^^^^^^^^^^^^^^^^^^ |
| 1581 |
| 1582 /polymer.html_script_27.js:85: WARNING - Dangerous use of the global THIS object |
| 1583 forwardHostProp: this._forwardHostPropV2, |
| 1584 ^^^^ |
| 1585 |
| 1586 /polymer.html_script_27.js:85: WARNING - Property _forwardHostPropV2 never defin
ed on any type in the program |
| 1587 forwardHostProp: this._forwardHostPropV2, |
| 1588 ^^^^^^^^^^^^^^^^^^^^^^^ |
| 1589 |
| 1590 /polymer.html_script_27.js:86: WARNING - Dangerous use of the global THIS object |
| 1591 notifyInstanceProp: this._notifyInstancePropV2 |
| 1592 ^^^^ |
| 1593 |
| 1594 /polymer.html_script_27.js:86: WARNING - Property _notifyInstancePropV2 never de
fined on any type in the program |
| 1595 notifyInstanceProp: this._notifyInstancePropV2 |
| 1596 ^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 1597 |
| 1598 /polymer.html_script_27.js:99: WARNING - Type annotation references non-existent
type TemplateInstanceBase. |
| 1599 * @return {TemplateInstanceBase} Returns the created instance of |
| 1600 ^^^^^^^^^^^^^^^^^^^^ |
| 1601 |
| 1602 /polymer.html_script_27.js:103: WARNING - Dangerous use of the global THIS objec
t |
| 1603 return new this.ctor(model); |
| 1604 ^^^^ |
| 1605 |
| 1606 /polymer.html_script_27.js:113: WARNING - Type annotation references non-existen
t type TemplateInstanceBase. |
| 1607 * @return {TemplateInstanceBase} Model representing the binding scope for |
| 1608 ^^^^^^^^^^^^^^^^^^^^ |
| 1609 |
| 1610 /polymer.html_script_27.js:117: WARNING - Dangerous use of the global THIS objec
t |
| 1611 return Polymer.Templatize.modelForElement(this._templatizerTemplate, el)
; |
| 1612 ^^^^ |
| 1613 |
| 1614 /polymer.html_script_28.js:10: WARNING - Cannot implement non-interface ? |
| 1615 * @implements {Polymer_GestureEventListener} |
| 1616 ^ |
| 1617 |
| 1618 /polymer.html_script_28.js:10: WARNING - Type annotation references non-existent
type Polymer_GestureEventListener. |
| 1619 * @implements {Polymer_GestureEventListener} |
| 1620 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 1621 |
| 1622 /polymer.html_script_28.js:40: WARNING - Cannot add property mutableData to a st
ruct instance after it is constructed. |
| 1623 this.mutableData = true; |
| 1624 ^^^^^^^^^^^^^^^^ |
| 1625 |
| 1626 /polymer.html_script_28.js:52: WARNING - Property root never defined on this of
type DomBind{parentNode:Node} |
| 1627 this.parentNode.insertBefore(this.root, this); |
| 1628 ^^^^^^^^^ |
| 1629 |
| 1630 /polymer.html_script_28.js:58: WARNING - Property root never defined on this of
type DomBind{__children:{length:number} (loose)} |
| 1631 this.root.appendChild(this.__children[i]); |
| 1632 ^^^^^^^^^ |
| 1633 |
| 1634 /polymer.html_script_28.js:77: WARNING - Function $jscomp$this.render: called wi
th 1 argument(s). Function requires at least 0 argument(s) and at most 0. |
| 1635 this.render(template); |
| 1636 ^^^^^^^^^^^^^^^^^^^^^ |
| 1637 |
| 1638 /polymer.html_script_28.js:85: WARNING - Cannot add property root to a struct in
stance after it is constructed. |
| 1639 this.root = this._stampTemplate(template); |
| 1640 ^^^^^^^^^ |
| 1641 |
| 1642 /polymer.html_script_28.js:85: WARNING - Property _stampTemplate never defined o
n this of type DomBind |
| 1643 this.root = this._stampTemplate(template); |
| 1644 ^^^^^^^^^^^^^^^^^^^ |
| 1645 |
| 1646 /polymer.html_script_28.js:86: WARNING - Cannot add property $ to a struct insta
nce after it is constructed. |
| 1647 this.$ = this.root.$; |
| 1648 ^^^^^^ |
| 1649 |
| 1650 /polymer.html_script_28.js:86: WARNING - Property root never defined on this of
type DomBind |
| 1651 this.$ = this.root.$; |
| 1652 ^^^^^^^^^ |
| 1653 |
| 1654 /polymer.html_script_28.js:87: WARNING - Cannot add property __children to a str
uct instance after it is constructed. |
| 1655 this.__children = []; |
| 1656 ^^^^^^^^^^^^^^^ |
| 1657 |
| 1658 /polymer.html_script_28.js:88: WARNING - Property root never defined on this of
type DomBind |
| 1659 for (let n=this.root.firstChild; n; n=n.nextSibling) { |
| 1660 ^^^^^^^^^ |
| 1661 |
| 1662 /polymer.html_script_28.js:89: WARNING - Property __children never defined on th
is of type DomBind |
| 1663 this.__children[this.__children.length] = n; |
| 1664 ^^^^^^^^^^^^^^^ |
| 1665 |
| 1666 /polymer.html_script_28.js:89: WARNING - Property __children never defined on th
is of type DomBind |
| 1667 this.__children[this.__children.length] = n; |
| 1668 ^^^^^^^^^^^^^^^ |
| 1669 |
| 1670 /polymer.html_script_28.js:91: WARNING - Property _flushProperties never defined
on this of type DomBind |
| 1671 this._flushProperties(); |
| 1672 ^^^^^^^^^^^^^^^^^^^^^ |
| 1673 |
| 1674 /polymer.html_script_30.js:274: WARNING - Property disconnectedCallback never de
fined on domRepeatBase.prototype of type domRepeatBase.prototype |
| 1675 super.disconnectedCallback(); |
| 1676 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 1677 |
| 1678 /polymer.html_script_30.js:275: WARNING - Cannot add property __isDetached to a
struct instance after it is constructed. |
| 1679 this.__isDetached = true; |
| 1680 ^^^^^^^^^^^^^^^^^ |
| 1681 |
| 1682 /polymer.html_script_30.js:282: WARNING - Property connectedCallback never defin
ed on domRepeatBase.prototype of type domRepeatBase.prototype |
| 1683 super.connectedCallback(); |
| 1684 ^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 1685 |
| 1686 /polymer.html_script_30.js:286: WARNING - Property parentNode never defined on t
his of type DomRepeat{__isDetached:boolean} |
| 1687 let parent = this.parentNode; |
| 1688 ^^^^^^^^^^^^^^^ |
| 1689 |
| 1690 /polymer.html_script_30.js:298: WARNING - Cannot add property template to a stru
ct instance after it is constructed. |
| 1691 let template = this.template = this.querySelector('template'); |
| 1692 ^^^^^^^^^^^^^ |
| 1693 |
| 1694 /polymer.html_script_30.js:298: WARNING - Property querySelector never defined o
n this of type DomRepeat |
| 1695 let template = this.template = this.querySelector('template'); |
| 1696 ^^^^^^^^^^^^^^^^^^ |
| 1697 |
| 1698 /polymer.html_script_30.js:302: WARNING - Property querySelector never defined o
n $jscomp$this of type DomRepeat |
| 1699 if (this.querySelector('template')) { |
| 1700 ^^^^^^^^^^^^^^^^^^ |
| 1701 |
| 1702 /polymer.html_script_30.js:309: WARNING - Invalid type for parameter 1 of functi
on observer.observe. |
| 1703 Expected : Node|null |
| 1704 Found : DomRepeat |
| 1705 |
| 1706 observer.observe(this, {childList: true}); |
| 1707 ^^^^ |
| 1708 |
| 1709 /polymer.html_script_30.js:314: WARNING - Property as never defined on this of t
ype DomRepeat |
| 1710 instanceProps[this.as] = true; |
| 1711 ^^^^^^^ |
| 1712 |
| 1713 /polymer.html_script_30.js:315: WARNING - Property indexAs never defined on this
of type DomRepeat |
| 1714 instanceProps[this.indexAs] = true; |
| 1715 ^^^^^^^^^^^^ |
| 1716 |
| 1717 /polymer.html_script_30.js:316: WARNING - Property itemsIndexAs never defined on
this of type DomRepeat |
| 1718 instanceProps[this.itemsIndexAs] = true; |
| 1719 ^^^^^^^^^^^^^^^^^ |
| 1720 |
| 1721 /polymer.html_script_30.js:318: WARNING - Property mutableData never defined on
this of type DomRepeat |
| 1722 mutableData: this.mutableData, |
| 1723 ^^^^^^^^^^^^^^^^ |
| 1724 |
| 1725 /polymer.html_script_30.js:322: WARNING - Dangerous use of the global THIS objec
t |
| 1726 let i$ = this.__instances; |
| 1727 ^^^^ |
| 1728 |
| 1729 /polymer.html_script_30.js:328: WARNING - Dangerous use of the global THIS objec
t |
| 1730 if (Polymer.Path.matches(this.as, prop)) { |
| 1731 ^^^^ |
| 1732 |
| 1733 /polymer.html_script_30.js:329: WARNING - Dangerous use of the global THIS objec
t |
| 1734 let idx = inst[this.itemsIndexAs]; |
| 1735 ^^^^ |
| 1736 |
| 1737 /polymer.html_script_30.js:330: WARNING - Dangerous use of the global THIS objec
t |
| 1738 if (prop == this.as) { |
| 1739 ^^^^ |
| 1740 |
| 1741 /polymer.html_script_30.js:331: WARNING - Dangerous use of the global THIS objec
t |
| 1742 this.items[idx] = value; |
| 1743 ^^^^ |
| 1744 |
| 1745 /polymer.html_script_30.js:333: WARNING - Dangerous use of the global THIS objec
t |
| 1746 let path = Polymer.Path.translate(this.as, 'items.' + idx, prop); |
| 1747 ^^^^ |
| 1748 |
| 1749 /polymer.html_script_30.js:334: WARNING - Dangerous use of the global THIS objec
t |
| 1750 this.notifyPath(path, value); |
| 1751 ^^^^ |
| 1752 |
| 1753 /polymer.html_script_30.js:348: WARNING - Property __dataHost never defined on t
his of type DomRepeat |
| 1754 return this.__dataHost._methodHost || this.__dataHost; |
| 1755 ^^^^^^^^^^^^^^^ |
| 1756 |
| 1757 /polymer.html_script_30.js:357: WARNING - Invalid type for parameter 1 of functi
on this.__debounceRender. |
| 1758 Expected : function():? |
| 1759 Found : function(this:DomRepeat):? |
| 1760 |
| 1761 this.__debounceRender(this.__render); |
| 1762 ^^^^^^^^^^^^^ |
| 1763 |
| 1764 /polymer.html_script_30.js:367: WARNING - Invalid type for parameter 1 of functi
on this.__debounceRender. |
| 1765 Expected : function():? |
| 1766 Found : function(this:DomRepeat):? |
| 1767 |
| 1768 this.__debounceRender(this.__render); |
| 1769 ^^^^^^^^^^^^^ |
| 1770 |
| 1771 /polymer.html_script_30.js:387: WARNING - Invalid type for parameter 1 of functi
on this.__debounceRender. |
| 1772 Expected : function():? |
| 1773 Found : function(this:DomRepeat):? |
| 1774 |
| 1775 this.__debounceRender(this.__requestRenderChunk); |
| 1776 ^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 1777 |
| 1778 /polymer.html_script_30.js:400: WARNING - Property _targetFrameTime never define
d on this of type DomRepeat |
| 1779 let ratio = this._targetFrameTime / (currChunkTime - this.__lastChunkTime)
; |
| 1780 ^^^^^^^^^^^^^^^^^^^^^ |
| 1781 |
| 1782 /polymer.html_script_30.js:404: WARNING - Invalid type for parameter 1 of functi
on this.__debounceRender. |
| 1783 Expected : function():? |
| 1784 Found : function(this:DomRepeat):? |
| 1785 |
| 1786 this.__debounceRender(this.__render); |
| 1787 ^^^^^^^^^^^^^ |
| 1788 |
| 1789 /polymer.html_script_30.js:423: WARNING - Invalid type for parameter 1 of functi
on this.__debounceRender. |
| 1790 Expected : function():? |
| 1791 Found : function(this:DomRepeat):? |
| 1792 |
| 1793 this.__debounceRender(this.__render); |
| 1794 ^^^^^^^^^^^^^ |
| 1795 |
| 1796 /polymer.html_script_30.js:434: WARNING - Invalid type for parameter 1 of functi
on this.__debounceRender. |
| 1797 Expected : function():? |
| 1798 Found : function(this:DomRepeat):? |
| 1799 |
| 1800 this.__debounceRender(this.__render, this.delay); |
| 1801 ^^^^^^^^^^^^^ |
| 1802 |
| 1803 /polymer.html_script_30.js:434: WARNING - Property delay never defined on this o
f type DomRepeat{__needFullRefresh:boolean, __observePaths:truthy} |
| 1804 this.__debounceRender(this.__render, this.delay); |
| 1805 ^^^^^^^^^^ |
| 1806 |
| 1807 /polymer.html_script_30.js:448: WARNING - Invalid type for parameter 1 of functi
on Polymer.Async.timeOut.after. |
| 1808 Expected : number |
| 1809 Found : number|undefined |
| 1810 More details: |
| 1811 The found type is a union that includes an unexpected type: undefined |
| 1812 , delay > 0 ? Polymer.Async.timeOut.after(delay) : Polymer.Async.micro
Task |
| 1813 ^^^^^ |
| 1814 |
| 1815 /polymer.html_script_30.js:463: WARNING - Invalid type for parameter 1 of functi
on this.__debounceRender. |
| 1816 Expected : function():? |
| 1817 Found : function(this:DomRepeat):? |
| 1818 |
| 1819 this.__debounceRender(this.__render); |
| 1820 ^^^^^^^^^^^^^ |
| 1821 |
| 1822 /polymer.html_script_30.js:480: WARNING - Property _setRenderedItemCount never d
efined on this of type DomRepeat{__pool:{length:number} (loose)} |
| 1823 this._setRenderedItemCount(this.__instances.length); |
| 1824 ^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 1825 |
| 1826 /polymer.html_script_30.js:482: WARNING - Property dispatchEvent never defined o
n this of type DomRepeat{__instances:{length:?} (loose), __pool:{length:number}
(loose)} |
| 1827 this.dispatchEvent(new CustomEvent('dom-change', { |
| 1828 ^^^^^^^^^^^^^^^^^^ |
| 1829 |
| 1830 /polymer.html_script_30.js:491: WARNING - All constants must be typed. The compi
ler could not infer the type of constant items. Please use an explicit type anno
tation. For more information, see: |
| 1831 https://github.com/google/closure-compiler/wiki/Using-NTI-(new-type-inference)#w
arnings-about-uninferred-constants |
| 1832 const items = this.items || []; |
| 1833 ^^^^^^^^^^^^^^^^^^^^^^^^ |
| 1834 |
| 1835 /polymer.html_script_30.js:516: WARNING - Property as never defined on this of t
ype DomRepeat{__instances:Object, __itemsIdxToInstIdx:Object{}, __limit:number,
items:?=} |
| 1836 inst._setPendingProperty(this.as, item); |
| 1837 ^^^^^^^ |
| 1838 |
| 1839 /polymer.html_script_30.js:517: WARNING - Property indexAs never defined on this
of type DomRepeat{__instances:Object, __itemsIdxToInstIdx:Object{}, __limit:num
ber, items:?=} |
| 1840 inst._setPendingProperty(this.indexAs, instIdx); |
| 1841 ^^^^^^^^^^^^ |
| 1842 |
| 1843 /polymer.html_script_30.js:518: WARNING - Property itemsIndexAs never defined on
this of type DomRepeat{__instances:Object, __itemsIdxToInstIdx:Object{}, __limi
t:number, items:?=} |
| 1844 inst._setPendingProperty(this.itemsIndexAs, itemIdx); |
| 1845 ^^^^^^^^^^^^^^^^^ |
| 1846 |
| 1847 /polymer.html_script_30.js:554: WARNING - Property as never defined on this of t
ype DomRepeat |
| 1848 model[this.as] = item; |
| 1849 ^^^^^^^ |
| 1850 |
| 1851 /polymer.html_script_30.js:555: WARNING - Property indexAs never defined on this
of type DomRepeat |
| 1852 model[this.indexAs] = instIdx; |
| 1853 ^^^^^^^^^^^^ |
| 1854 |
| 1855 /polymer.html_script_30.js:556: WARNING - Property itemsIndexAs never defined on
this of type DomRepeat |
| 1856 model[this.itemsIndexAs] = itemIdx; |
| 1857 ^^^^^^^^^^^^^^^^^ |
| 1858 |
| 1859 /polymer.html_script_30.js:565: WARNING - Property as never defined on this of t
ype DomRepeat{__pool:{pop:LOOSE_TOP_FUNCTION} (loose)} |
| 1860 inst._setPendingProperty(this.as, item); |
| 1861 ^^^^^^^ |
| 1862 |
| 1863 /polymer.html_script_30.js:566: WARNING - Property indexAs never defined on this
of type DomRepeat{__pool:{pop:LOOSE_TOP_FUNCTION} (loose)} |
| 1864 inst._setPendingProperty(this.indexAs, instIdx); |
| 1865 ^^^^^^^^^^^^ |
| 1866 |
| 1867 /polymer.html_script_30.js:567: WARNING - Property itemsIndexAs never defined on
this of type DomRepeat{__pool:{pop:LOOSE_TOP_FUNCTION} (loose)} |
| 1868 inst._setPendingProperty(this.itemsIndexAs, itemIdx); |
| 1869 ^^^^^^^^^^^^^^^^^ |
| 1870 |
| 1871 /polymer.html_script_30.js:574: WARNING - Property parentNode never defined on t
his of type DomRepeat{__instances:Object, __pool:{pop:LOOSE_TOP_FUNCTION} (loose
)} |
| 1872 this.parentNode.insertBefore(inst.root, beforeNode); |
| 1873 ^^^^^^^^^^^^^^^ |
| 1874 |
| 1875 /polymer.html_script_30.js:601: WARNING - Property as never defined on this of t
ype DomRepeat{__instances:Object, __itemsIdxToInstIdx:Object} |
| 1876 let itemPath = this.as + (itemSubPath ? '.' + itemSubPath : ''); |
| 1877 ^^^^^^^ |
| 1878 |
| 1879 /polymer.html_script_30.js:625: WARNING - Property as never defined on this of t
ype DomRepeat |
| 1880 return instance && instance[this.as]; |
| 1881 ^^^^^^^ |
| 1882 |
| 1883 /polymer.html_script_30.js:639: WARNING - Property indexAs never defined on this
of type DomRepeat |
| 1884 return instance && instance[this.indexAs]; |
| 1885 ^^^^^^^^^^^^ |
| 1886 |
| 1887 /polymer.html_script_30.js:656: WARNING - Type annotation references non-existen
t type TemplateInstanceBase. |
| 1888 * @return {TemplateInstanceBase} Model representing the binding scope for |
| 1889 ^^^^^^^^^^^^^^^^^^^^ |
| 1890 |
| 1891 /polymer.html_script_30.js:660: WARNING - Property template never defined on thi
s of type DomRepeat |
| 1892 return Polymer.Templatize.modelForElement(this.template, el); |
| 1893 ^^^^^^^^^^^^^ |
| 1894 |
| 1895 /polymer.html_script_30.js:665: WARNING - Invalid type for parameter 2 of functi
on customElements.define. |
| 1896 Expected : function(new:HTMLElement):? |
| 1897 Found : DomRepeat<|function(new:DomRepeat):undefined|> |
| 1898 |
| 1899 customElements.define(DomRepeat.is, DomRepeat); |
| 1900 ^^^^^^^^^ |
| 1901 |
| 1902 /polymer.html_script_31.js:142: WARNING - Property _lastIf never defined on this
of type DomIf{__instance:?, if:?=, restamp:?=} |
| 1903 if (this.if != this._lastIf) { |
| 1904 ^^^^^^^^^^^^ |
| 1905 |
| 1906 /polymer.html_script_31.js:143: WARNING - Property dispatchEvent never defined o
n this of type DomIf{__instance:?, if:?=, restamp:?=} |
| 1907 this.dispatchEvent(new CustomEvent('dom-change', { |
| 1908 ^^^^^^^^^^^^^^^^^^ |
| 1909 |
| 1910 /polymer.html_script_31.js:147: WARNING - Cannot add property _lastIf to a struc
t instance after it is constructed. |
| 1911 this._lastIf = this.if; |
| 1912 ^^^^^^^^^^^^ |
| 1913 |
| 1914 /polymer.html_script_31.js:152: WARNING - Property parentNode never defined on t
his of type DomIf |
| 1915 let parentNode = this.parentNode; |
| 1916 ^^^^^^^^^^^^^^^ |
| 1917 |
| 1918 /polymer.html_script_31.js:156: WARNING - Property querySelector never defined o
n this of type DomIf |
| 1919 let template = this.querySelector('template'); |
| 1920 ^^^^^^^^^^^^^^^^^^ |
| 1921 |
| 1922 /polymer.html_script_31.js:160: WARNING - Property querySelector never defined o
n $jscomp$this of type DomIf |
| 1923 if (this.querySelector('template')) { |
| 1924 ^^^^^^^^^^^^^^^^^^ |
| 1925 |
| 1926 /polymer.html_script_31.js:167: WARNING - Invalid type for parameter 1 of functi
on observer.observe. |
| 1927 Expected : Node|null |
| 1928 Found : DomIf |
| 1929 |
| 1930 observer.observe(this, {childList: true}); |
| 1931 ^^^^ |
| 1932 |
| 1933 /polymer.html_script_31.js:170: WARNING - Cannot add property __ctor to a struct
instance after it is constructed. |
| 1934 this.__ctor = Polymer.Templatize.templatize(template, this, { |
| 1935 ^^^^^^^^^^^ |
| 1936 |
| 1937 /polymer.html_script_31.js:175: WARNING - Dangerous use of the global THIS objec
t |
| 1938 if (this.__instance) { |
| 1939 ^^^^ |
| 1940 |
| 1941 /polymer.html_script_31.js:176: WARNING - Dangerous use of the global THIS objec
t |
| 1942 if (this.if) { |
| 1943 ^^^^ |
| 1944 |
| 1945 /polymer.html_script_31.js:177: WARNING - Dangerous use of the global THIS objec
t |
| 1946 this.__instance.forwardHostProp(prop, value); |
| 1947 ^^^^ |
| 1948 |
| 1949 /polymer.html_script_31.js:183: WARNING - Dangerous use of the global THIS objec
t |
| 1950 this.__invalidProps = this.__invalidProps || Object.create(nul
l); |
| 1951 ^^^^ |
| 1952 |
| 1953 /polymer.html_script_31.js:183: WARNING - Dangerous use of the global THIS objec
t |
| 1954 this.__invalidProps = this.__invalidProps || Object.create(nul
l); |
| 1955 ^^^^ |
| 1956 |
| 1957 /polymer.html_script_31.js:184: WARNING - Dangerous use of the global THIS objec
t |
| 1958 this.__invalidProps[Polymer.Path.root(prop)] = true; |
| 1959 ^^^^ |
| 1960 |
| 1961 /polymer.html_script_31.js:198: WARNING - Property previousSibling never defined
on this of type DomIf{__ctor:truthy=, __instance:{children:?} (loose)} |
| 1962 let lastChild = this.previousSibling; |
| 1963 ^^^^^^^^^^^^^^^^^^^^ |
| 1964 |
| 1965 /polymer.html_script_31.js:214: WARNING - Property __dataHost never defined on t
his of type DomIf{__instance:{_setPendingProperty:LOOSE_TOP_FUNCTION} (loose)} |
| 1966 this.__instance._setPendingProperty(prop, this.__dataHost[prop]); |
| 1967 ^^^^^^^^^^^^^^^ |
| 1968 |
| 1969 /polymer.html_script_31.js:237: WARNING - Property if never defined on this of t
ype DomIf |
| 1970 let hidden = this.__hideTemplateChildren__ || !this.if; |
| 1971 ^^^^^^^ |
| 1972 |
| 1973 /polymer.html_script_31.js:245: WARNING - Invalid type for parameter 2 of functi
on customElements.define. |
| 1974 Expected : function(new:HTMLElement):? |
| 1975 Found : DomIf<|function(new:DomIf):undefined|> |
| 1976 |
| 1977 customElements.define(DomIf.is, DomIf); |
| 1978 ^^^^^ |
| 1979 |
| 1980 /polymer.html_script_32.js:86: WARNING - ArraySelectorMixin extends non-object t
ype ?. |
| 1981 |
| 1982 constructor() { |
| 1983 ^^^^^^^^^^^^^^^ |
| 1984 |
| 1985 /polymer.html_script_32.js:143: WARNING - Property items never defined on this o
f type ArraySelectorMixin |
| 1986 if (selected.has(this.items[idx])) { |
| 1987 ^^^^^^^^^^ |
| 1988 |
| 1989 /polymer.html_script_32.js:144: WARNING - Property items never defined on this o
f type ArraySelectorMixin |
| 1990 selected.set(this.items[idx], idx); |
| 1991 ^^^^^^^^^^ |
| 1992 |
| 1993 /polymer.html_script_32.js:155: WARNING - Property splice never defined on $jsco
mp$this of type ArraySelectorMixin{multi:truthy} |
| 1994 this.splice('selected', sidx, 1); |
| 1995 ^^^^^^^^^^^ |
| 1996 |
| 1997 /polymer.html_script_32.js:157: WARNING - Cannot add property selected to a stru
ct instance after it is constructed. |
| 1998 this.selected = this.selectedItem = null; |
| 1999 ^^^^^^^^^^^^^ |
| 2000 |
| 2001 /polymer.html_script_32.js:157: WARNING - Cannot add property selectedItem to a
struct instance after it is constructed. |
| 2002 this.selected = this.selectedItem = null; |
| 2003 ^^^^^^^^^^^^^^^^^ |
| 2004 |
| 2005 /polymer.html_script_32.js:167: WARNING - Cannot add property __dataLinkedPaths
to a struct instance after it is constructed. |
| 2006 this.__dataLinkedPaths = {}; |
| 2007 ^^^^^^^^^^^^^^^^^^^^^^ |
| 2008 |
| 2009 /polymer.html_script_32.js:172: WARNING - Property linkPaths never defined on $j
scomp$this of type ArraySelectorMixin |
| 2010 this.linkPaths('items.' + idx, 'selected.' + sidx++); |
| 2011 ^^^^^^^^^^^^^^ |
| 2012 |
| 2013 /polymer.html_script_32.js:177: WARNING - Property linkPaths never defined on $j
scomp$this of type ArraySelectorMixin |
| 2014 this.linkPaths('selected', 'items.' + idx); |
| 2015 ^^^^^^^^^^^^^^ |
| 2016 |
| 2017 /polymer.html_script_32.js:178: WARNING - Property linkPaths never defined on $j
scomp$this of type ArraySelectorMixin |
| 2018 this.linkPaths('selectedItem', 'items.' + idx); |
| 2019 ^^^^^^^^^^^^^^ |
| 2020 |
| 2021 /polymer.html_script_32.js:189: WARNING - Cannot add property __dataLinkedPaths
to a struct instance after it is constructed. |
| 2022 this.__dataLinkedPaths = {}; |
| 2023 ^^^^^^^^^^^^^^^^^^^^^^ |
| 2024 |
| 2025 /polymer.html_script_32.js:196: WARNING - Cannot add property selected to a stru
ct instance after it is constructed. |
| 2026 this.selected = this.multi ? [] : null |
| 2027 ^^^^^^^^^^^^^ |
| 2028 |
| 2029 /polymer.html_script_32.js:197: WARNING - Cannot add property selectedItem to a
struct instance after it is constructed. |
| 2030 this.selectedItem = null; |
| 2031 ^^^^^^^^^^^^^^^^^ |
| 2032 |
| 2033 /polymer.html_script_32.js:217: WARNING - Property items never defined on this o
f type ArraySelectorMixin |
| 2034 return this.isSelected(this.items[idx]); |
| 2035 ^^^^^^^^^^ |
| 2036 |
| 2037 /polymer.html_script_32.js:233: WARNING - Property __dataLinkedPaths never defin
ed on this of type ArraySelectorMixin |
| 2038 let selected = this.__dataLinkedPaths['items.' + idx]; |
| 2039 ^^^^^^^^^^^^^^^^^^^^^^ |
| 2040 |
| 2041 /polymer.html_script_32.js:254: WARNING - Property splice never defined on this |
| 2042 this.splice('selected', sidx, 1); |
| 2043 ^^^^^^^^^^^ |
| 2044 |
| 2045 /polymer.html_script_32.js:256: WARNING - Cannot add property selected to a stru
ct instance after it is constructed. |
| 2046 this.selected = this.selectedItem = null; |
| 2047 ^^^^^^^^^^^^^ |
| 2048 |
| 2049 /polymer.html_script_32.js:256: WARNING - Cannot add property selectedItem to a
struct instance after it is constructed. |
| 2050 this.selected = this.selectedItem = null; |
| 2051 ^^^^^^^^^^^^^^^^^ |
| 2052 |
| 2053 /polymer.html_script_32.js:267: WARNING - Property items never defined on this o
f type ArraySelectorMixin |
| 2054 this.deselect(this.items[idx]); |
| 2055 ^^^^^^^^^^ |
| 2056 |
| 2057 /polymer.html_script_32.js:277: WARNING - Property items never defined on this o
f type ArraySelectorMixin |
| 2058 this.selectIndex(this.items.indexOf(item)); |
| 2059 ^^^^^^^^^^ |
| 2060 |
| 2061 /polymer.html_script_32.js:287: WARNING - Property items never defined on this o
f type ArraySelectorMixin |
| 2062 let item = this.items[idx]; |
| 2063 ^^^^^^^^^^ |
| 2064 |
| 2065 /polymer.html_script_32.js:295: WARNING - Property push never defined on this of
type ArraySelectorMixin{__selectedMap:{set:LOOSE_TOP_FUNCTION} (loose), multi:t
ruthy} |
| 2066 this.push('selected', item); |
| 2067 ^^^^^^^^^ |
| 2068 |
| 2069 /polymer.html_script_32.js:297: WARNING - Cannot add property selected to a stru
ct instance after it is constructed. |
| 2070 this.selected = this.selectedItem = item; |
| 2071 ^^^^^^^^^^^^^ |
| 2072 |
| 2073 /polymer.html_script_32.js:297: WARNING - Cannot add property selectedItem to a
struct instance after it is constructed. |
| 2074 this.selected = this.selectedItem = item; |
| 2075 ^^^^^^^^^^^^^^^^^ |
| 2076 |
| 2077 /polymer.html_script_32.js:391: WARNING - Invalid type for parameter 2 of functi
on customElements.define. |
| 2078 Expected : function(new:HTMLElement):? |
| 2079 Found : ArraySelector<|function(new:ArraySelector,...?):undefined|> |
| 2080 |
| 2081 customElements.define(ArraySelector.is, ArraySelector); |
| 2082 ^^^^^^^^^^^^^ |
| 2083 |
| 2084 /polymer.html_script_33.js:47: WARNING - Returned type does not match declared r
eturn type. |
| 2085 Expected : HTMLStyleElement|null |
| 2086 Found : undefined |
| 2087 |
| 2088 return; |
| 2089 ^^^^^^^ |
| 2090 |
| 2091 /polymer.html_script_33.js:55: WARNING - Returned type does not match declared r
eturn type. |
| 2092 Expected : HTMLStyleElement|null |
| 2093 Found : Element |
| 2094 |
| 2095 return this._style; |
| 2096 ^^^^^^^^^^^^^^^^^^^ |
| 2097 |
| 2098 /polymer.html_script_34.js:132: WARNING - Dangerous use of the global THIS objec
t |
| 2099 return mutablePropertyChange(this, property, value, old, this.mutableData)
; |
| 2100 ^^^^ |
| 2101 |
| 2102 /polymer.html_script_4.js:37: WARNING - Dangerous use of the global THIS object |
| 2103 cssText += this.cssFromModule(modules[i]); |
| 2104 ^^^^ |
| 2105 |
| 2106 /polymer.html_script_4.js:61: WARNING - Dangerous use of the global THIS object |
| 2107 cssText += this.cssFromTemplate(t, m.assetpath); |
| 2108 ^^^^ |
| 2109 |
| 2110 /polymer.html_script_4.js:64: WARNING - Dangerous use of the global THIS object |
| 2111 cssText += this.cssFromModuleImports(moduleId); |
| 2112 ^^^^ |
| 2113 |
| 2114 /polymer.html_script_4.js:93: WARNING - Dangerous use of the global THIS object |
| 2115 cssText += this.cssFromModules(include); |
| 2116 ^^^^ |
| 2117 |
| 2118 /polymer.html_script_5.js:87: WARNING - Property importForElement never defined
on HTMLImports of type HTMLImports |
| 2119 HTMLImports.importForElement(this) || document : this.ownerDocument; |
| 2120 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 2121 |
| 2122 /polymer.html_script_5.js:90: WARNING - Cannot add property __assetpath to a str
uct instance after it is constructed. |
| 2123 this.__assetpath = Polymer.ResolveUrl.pathFromUrl(url); |
| 2124 ^^^^^^^^^^^^^^^^ |
| 2125 |
| 2126 /polymer.html_script_6.js:121: WARNING - Dangerous use of the global THIS object |
| 2127 this.isAncestor(base, path) || |
| 2128 ^^^^ |
| 2129 |
| 2130 /polymer.html_script_6.js:122: WARNING - Dangerous use of the global THIS object |
| 2131 this.isDescendant(base, path); |
| 2132 ^^^^ |
| 2133 |
| 2134 /polymer.html_script_6.js:172: WARNING - Dangerous use of the global THIS object |
| 2135 return this.normalize(path).split('.'); |
| 2136 ^^^^ |
| 2137 |
| 2138 /polymer.html_script_6.js:191: WARNING - Dangerous use of the global THIS object |
| 2139 let parts = this.split(path); |
| 2140 ^^^^ |
| 2141 |
| 2142 /polymer.html_script_6.js:218: WARNING - Dangerous use of the global THIS object |
| 2143 let parts = this.split(path); |
| 2144 ^^^^ |
| 2145 |
| 2146 /polymer.html_script_8.js:103: WARNING - PropertyAccessors extends non-object ty
pe ?. |
| 2147 |
| 2148 constructor() { |
| 2149 ^^^^^^^^^^^^^^^ |
| 2150 |
| 2151 /polymer.html_script_8.js:110: WARNING - Function this._attributeToProperty: cal
led with 2 argument(s). Function requires at least 3 argument(s) and at most 3. |
| 2152 this._attributeToProperty(name, value); |
| 2153 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 2154 |
| 2155 /polymer.html_script_8.js:190: WARNING - Property hasAttribute never defined on
this of type PropertyAccessors |
| 2156 if (!this.hasAttribute(attribute)) { |
| 2157 ^^^^^^^^^^^^^^^^^ |
| 2158 |
| 2159 /polymer.html_script_8.js:191: WARNING - Invalid type for parameter 1 of functio
n this._valueToNodeAttribute. |
| 2160 Expected : Element|null |
| 2161 Found : PropertyAccessors |
| 2162 |
| 2163 this._valueToNodeAttribute(this, value, attribute); |
| 2164 ^^^^ |
| 2165 |
| 2166 /polymer.html_script_8.js:223: WARNING - Invalid type for parameter 1 of functio
n this._valueToNodeAttribute. |
| 2167 Expected : Element|null |
| 2168 Found : PropertyAccessors{__serializing:boolean} |
| 2169 |
| 2170 this._valueToNodeAttribute(this, value, |
| 2171 ^^^^ |
| 2172 |
| 2173 /polymer.html_script_8.js:373: WARNING - Dangerous use of the global THIS object |
| 2174 return this.__data[property]; |
| 2175 ^^^^ |
| 2176 |
| 2177 /polymer.html_script_8.js:376: WARNING - Dangerous use of the global THIS object |
| 2178 this._setProperty(property, value); |
| 2179 ^^^^ |
| 2180 |
| 2181 /polymer.html_script_8.js:417: WARNING - Missing return statement. Function expe
cted to return boolean. |
| 2182 _setPendingProperty(property, value) { |
| 2183 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 2184 |
| 2185 /polymer.html_script_9.js:106: WARNING - TemplateStamp extends non-object type ?
. |
| 2186 |
| 2187 class TemplateStamp extends superClass { |
| 2188 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 2189 |
| 2190 /polymer.html_script_9.js:110: WARNING - Cannot add property $ to a struct insta
nce after it is constructed. |
| 2191 this.$ = null; |
| 2192 ^^^^^^ |
| 2193 |
| 2194 /polymer.html_script_9.js:215: WARNING - Property hasAttribute never defined on
node of type Node |
| 2195 if (node.localName == 'template' && !node.hasAttribute('preserve-content
')) { |
| 2196 ^^^^^^^^^^^^^^^^^ |
| 2197 |
| 2198 /polymer.html_script_9.js:258: WARNING - Invalid type for parameter 1 of functio
n root.removeChild. |
| 2199 Expected : Node|null |
| 2200 Found : {nextSibling:?, nodeType:number, textContent:number|string} (loose) |
| 2201 |
| 2202 root.removeChild(n); |
| 2203 ^ |
| 2204 |
| 2205 /polymer.html_script_9.js:315: WARNING - Invalid type for parameter 1 of functio
n Array.from. |
| 2206 Expected : IArrayLike<Attr>|Iterable<Attr>|string |
| 2207 Found : NamedNodeMap<Attr>|null |
| 2208 More details: |
| 2209 The found type is a union that includes an unexpected type: null |
| 2210 let attrs = Array.from(node.attributes); |
| 2211 ^^^^^^^^^^^^^^^ |
| 2212 |
| 2213 /polymer.html_script_9.js:337: WARNING - Missing return statement. Function expe
cted to return boolean. |
| 2214 static _parseTemplateNodeAttribute(node, templateInfo, nodeInfo, name, val
ue) { |
| 2215 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^ |
| 2216 |
| 2217 /polymer.html_script_9.js:340: WARNING - Property removeAttribute never defined
on node of type Node |
| 2218 node.removeAttribute(name); |
| 2219 ^^^^^^^^^^^^^^^^^^^^ |
| 2220 |
| 2221 /polymer.html_script_9.js:366: WARNING - Property __templateInfo never defined o
n template of type HTMLTemplateElement |
| 2222 let templateInfo = template.__templateInfo; |
| 2223 ^^^^^^^^^^^^^^^^^^^^^^^ |
| 2224 |
| 2225 /polymer.html_script_9.js:396: WARNING - Property decorate never defined on HTML
TemplateElement of type HTMLTemplateElement<|function(new:HTMLTemplateElement):?
|> |
| 2226 HTMLTemplateElement.decorate(template); |
| 2227 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 2228 |
| 2229 /polymer.html_script_9.js:412: WARNING - Returned type does not match declared r
eturn type. |
| 2230 Expected : DocumentFragment|null |
| 2231 Found : Node{$:Object{}, __noInsertionPoint:boolean, nodeList:Array<?>} |
| 2232 |
| 2233 return dom; |
| 2234 ^^^^^^^^^^^ |
| 2235 |
| 2236 externs/closure-types.js:217: WARNING - Invalid redeclaration of property _setPe
ndingProperty. |
| 2237 inherited type : function(this:Polymer_PropertyAccessors,string,*):boolean |
| 2238 overriding type : function(this:Polymer_PropertyEffects,*,*,*):? |
| 2239 |
| 2240 Polymer_PropertyEffects.prototype._setPendingProperty = function(property, value
, shouldNotify){}; |
| 2241 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 2242 |
| 2243 externs/closure-types.js:378: WARNING - property connectedCallback not defined o
n any supertype of Polymer_ElementMixin |
| 2244 Polymer_ElementMixin.prototype.connectedCallback = function(){}; |
| 2245 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 2246 |
| 2247 externs/closure-types.js:382: WARNING - property disconnectedCallback not define
d on any supertype of Polymer_ElementMixin |
| 2248 Polymer_ElementMixin.prototype.disconnectedCallback = function(){}; |
| 2249 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 2250 |
| 2251 externs/closure-types.js:402: WARNING - property attributeChangedCallback not de
fined on any supertype of Polymer_ElementMixin |
| 2252 Polymer_ElementMixin.prototype.attributeChangedCallback = function(name, old, va
lue){}; |
| 2253 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 2254 |
| 2255 externs/closure-types.js:717: WARNING - property mutableData on interface Polyme
r_OptionalMutableData is not implemented by type OptionalMutableData |
| 2256 Polymer_OptionalMutableData.prototype.mutableData; |
| 2257 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 2258 |
| 2259 externs/closure-types.js:731: WARNING - property items on interface Polymer_Arra
ySelectorMixin is not implemented by type ArraySelectorMixin |
| 2260 Polymer_ArraySelectorMixin.prototype.items; |
| 2261 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 2262 |
| 2263 externs/closure-types.js:734: WARNING - property multi on interface Polymer_Arra
ySelectorMixin is not implemented by type ArraySelectorMixin |
| 2264 Polymer_ArraySelectorMixin.prototype.multi; |
| 2265 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 2266 |
| 2267 externs/closure-types.js:737: WARNING - property selected on interface Polymer_A
rraySelectorMixin is not implemented by type ArraySelectorMixin |
| 2268 Polymer_ArraySelectorMixin.prototype.selected; |
| 2269 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 2270 |
| 2271 externs/closure-types.js:740: WARNING - property selectedItem on interface Polym
er_ArraySelectorMixin is not implemented by type ArraySelectorMixin |
| 2272 Polymer_ArraySelectorMixin.prototype.selectedItem; |
| 2273 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 2274 |
| 2275 externs/closure-types.js:743: WARNING - property toggle on interface Polymer_Arr
aySelectorMixin is not implemented by type ArraySelectorMixin |
| 2276 Polymer_ArraySelectorMixin.prototype.toggle; |
| 2277 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 2278 |
| 2279 0 error(s), 498 warning(s), 70.9% typed |
| OLD | NEW |