| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 Polymer('log-panel', { | 5 Polymer('log-panel', { |
| 6 publish: { | 6 publish: { |
| 7 /** | 7 /** |
| 8 * List of displayed logs. | 8 * List of displayed logs. |
| 9 * @type {Array.<{{ | 9 * @type {Array<{{ |
| 10 * text: string, | 10 * text: string, |
| 11 * date: string, | 11 * date: string, |
| 12 * source: string | 12 * source: string |
| 13 * }}>} | 13 * }}>} |
| 14 */ | 14 */ |
| 15 logs: null, | 15 logs: null, |
| 16 }, | 16 }, |
| 17 | 17 |
| 18 /** | 18 /** |
| 19 * @type {boolean} | 19 * @type {boolean} |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 /** | 66 /** |
| 67 * @param {string} filename | 67 * @param {string} filename |
| 68 * @return {string} The filename stripped of its preceeding path. | 68 * @return {string} The filename stripped of its preceeding path. |
| 69 * @private | 69 * @private |
| 70 */ | 70 */ |
| 71 stripPath_: function(filename) { | 71 stripPath_: function(filename) { |
| 72 var directories = filename.split('/'); | 72 var directories = filename.split('/'); |
| 73 return directories[directories.length - 1]; | 73 return directories[directories.length - 1]; |
| 74 }, | 74 }, |
| 75 }); | 75 }); |
| OLD | NEW |