| OLD | NEW |
| 1 <!-- The <detail-table-sk> custom element declaration. | 1 <!-- The <detail-table-sk> custom element declaration. |
| 2 | 2 |
| 3 Presents detailed information about the differences | 3 Presents detailed information about the differences |
| 4 between two images, or just one image if the bothcolumns | 4 between two images, or just one image if the bothcolumns |
| 5 attribute is false. | 5 attribute is false. |
| 6 | 6 |
| 7 Attributes: | 7 Attributes: |
| 8 top - The top digest. | 8 top - The top digest. |
| 9 left - The left digest. | 9 left - The left digest. |
| 10 test - The name of the test the digests are from. | 10 test - The name of the test the digests are from. |
| (...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 312 this.getInProgress = false; | 312 this.getInProgress = false; |
| 313 | 313 |
| 314 var that = this; | 314 var that = this; |
| 315 this.$.topDetail.addEventListener('change', function(e) { | 315 this.$.topDetail.addEventListener('change', function(e) { |
| 316 e.stopPropagation(); | 316 e.stopPropagation(); |
| 317 var detail = { | 317 var detail = { |
| 318 test: that.test, | 318 test: that.test, |
| 319 digest: [that.top], | 319 digest: [that.top], |
| 320 status: e.detail, | 320 status: e.detail, |
| 321 }; | 321 }; |
| 322 that.dispatchEvent(new CustomEvent('triage', {detail: detail})); | 322 that.dispatchEvent(new CustomEvent('triage', {detail: detail, bubble
s: true})); |
| 323 }); | 323 }); |
| 324 this.$.leftDetail.addEventListener('change', function(e) { | 324 this.$.leftDetail.addEventListener('change', function(e) { |
| 325 e.stopPropagation(); | 325 e.stopPropagation(); |
| 326 var detail = { | 326 var detail = { |
| 327 test: that.test, | 327 test: that.test, |
| 328 digest: [that.left], | 328 digest: [that.left], |
| 329 status: e.detail, | 329 status: e.detail, |
| 330 }; | 330 }; |
| 331 that.dispatchEvent(new CustomEvent('triage', {detail: detail})); | 331 that.dispatchEvent(new CustomEvent('triage', {detail: detail, bubble
s: true})); |
| 332 }); | 332 }); |
| 333 | 333 |
| 334 this.hoverElement = null; | 334 this.hoverElement = null; |
| 335 | 335 |
| 336 if (this.$.dots) { | 336 if (this.$.dots) { |
| 337 this.$.dots.addEventListener('hover', function(e) { | 337 this.$.dots.addEventListener('hover', function(e) { |
| 338 that.$.tracename.value = e.detail; | 338 that.$.tracename.value = e.detail; |
| 339 }); | 339 }); |
| 340 } | 340 } |
| 341 }, | 341 }, |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 385 this.changeImpl_(); | 385 this.changeImpl_(); |
| 386 }, | 386 }, |
| 387 | 387 |
| 388 leftChanged: function() { | 388 leftChanged: function() { |
| 389 this.changeImpl_(); | 389 this.changeImpl_(); |
| 390 }, | 390 }, |
| 391 }); | 391 }); |
| 392 })(); | 392 })(); |
| 393 </script> | 393 </script> |
| 394 </polymer-element> | 394 </polymer-element> |
| OLD | NEW |