Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(841)

Side by Side Diff: dashboard/dashboard/elements/test-picker.html

Issue 2776653002: [ESLint] Fix violations when enabling curly rule in eslint. (Closed)
Patch Set: rebase Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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>
OLDNEW
« no previous file with comments | « dashboard/dashboard/elements/chart-tooltip.html ('k') | dashboard/dashboard/pinpoint/elements/jobs-page.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698