| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 var ClientRenderer = (function() { | 5 var ClientRenderer = (function() { |
| 6 var ClientRenderer = function() { | 6 var ClientRenderer = function() { |
| 7 this.playerListElement = document.getElementById('player-list'); | 7 this.playerListElement = document.getElementById('player-list'); |
| 8 this.audioPropertiesTable = | 8 this.audioPropertiesTable = |
| 9 document.getElementById('audio-property-table').querySelector('tbody'); | 9 document.getElementById('audio-property-table').querySelector('tbody'); |
| 10 this.playerPropertiesTable = | 10 this.playerPropertiesTable = |
| (...skipping 462 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 473 this.filterFunction = function(text) { | 473 this.filterFunction = function(text) { |
| 474 text = text.toLowerCase(); | 474 text = text.toLowerCase(); |
| 475 return parts.length === 0 || parts.some(function(part) { | 475 return parts.length === 0 || parts.some(function(part) { |
| 476 return text.indexOf(part) != -1; | 476 return text.indexOf(part) != -1; |
| 477 }); | 477 }); |
| 478 }; | 478 }; |
| 479 | 479 |
| 480 if (this.selectedPlayer) { | 480 if (this.selectedPlayer) { |
| 481 removeChildren(this.logTable); | 481 removeChildren(this.logTable); |
| 482 this.selectedPlayerLogIndex = 0; | 482 this.selectedPlayerLogIndex = 0; |
| 483 this.drawLog_(); |
| 483 } | 484 } |
| 484 }, | 485 }, |
| 485 }; | 486 }; |
| 486 | 487 |
| 487 return ClientRenderer; | 488 return ClientRenderer; |
| 488 })(); | 489 })(); |
| OLD | NEW |