OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <!-- | 2 <!-- |
3 Copyright 2016 The Chromium Authors. All rights reserved. | 3 Copyright 2016 The Chromium Authors. All rights reserved. |
4 Use of this source code is governed by a BSD-style license that can be | 4 Use of this source code is governed by a BSD-style license that can be |
5 found in the LICENSE file. | 5 found in the LICENSE file. |
6 --> | 6 --> |
7 | 7 |
8 <link rel="import" href="/components/iron-flex-layout/iron-flex-layout-classes.h
tml"> | 8 <link rel="import" href="/components/iron-flex-layout/iron-flex-layout-classes.h
tml"> |
9 <link rel="import" href="/components/paper-button/paper-button.html"> | 9 <link rel="import" href="/components/paper-button/paper-button.html"> |
10 <link rel="import" href="/components/paper-icon-button/paper-icon-button.html"> | 10 <link rel="import" href="/components/paper-icon-button/paper-icon-button.html"> |
(...skipping 464 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
475 level += 1; | 475 level += 1; |
476 } | 476 } |
477 | 477 |
478 var suite = this.getSelectionMenu(0).selectedItem.name; | 478 var suite = this.getSelectionMenu(0).selectedItem.name; |
479 var bot = this.getCheckedBot(); | 479 var bot = this.getCheckedBot(); |
480 parts.unshift(suite); | 480 parts.unshift(suite); |
481 parts.unshift(bot); | 481 parts.unshift(bot); |
482 | 482 |
483 var path = parts.join('/'); | 483 var path = parts.join('/'); |
484 | 484 |
485 if (this.currentSelectedPath_ === path) | 485 if (this.currentSelectedPath_ === path) { |
486 return this.currentSelectedTests_; | 486 return this.currentSelectedTests_; |
| 487 } |
487 this.sendListTestsRequest(path); | 488 this.sendListTestsRequest(path); |
488 return null; | 489 return null; |
489 }, | 490 }, |
490 | 491 |
491 getCurrentSelectedPath: function() { | 492 getCurrentSelectedPath: function() { |
492 return this.currentSelectedPath_; | 493 return this.currentSelectedPath_; |
493 }, | 494 }, |
494 | 495 |
495 getCurrentUnselected: function() { | 496 getCurrentUnselected: function() { |
496 return this.currentUnselectedTests_; | 497 return this.currentUnselectedTests_; |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
576 * Converts a link in markdown format to a HTML link (anchor elements). | 577 * Converts a link in markdown format to a HTML link (anchor elements). |
577 * @param {string} text A link in markdown format. | 578 * @param {string} text A link in markdown format. |
578 * @return {string} A hyperlink string. | 579 * @return {string} A hyperlink string. |
579 */ | 580 */ |
580 convertMarkdownLinks: function(text) { | 581 convertMarkdownLinks: function(text) { |
581 return text.replace(/\[(.+?)\]\((.+?)\)/g, '<a href="$2">$1</a>'); | 582 return text.replace(/\[(.+?)\]\((.+?)\)/g, '<a href="$2">$1</a>'); |
582 } | 583 } |
583 }); | 584 }); |
584 </script> | 585 </script> |
585 </dom-module> | 586 </dom-module> |
OLD | NEW |