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

Unified Diff: appengine/sheriff_o_matic/ui/ct-step-failure-card.html

Issue 1315693002: SoM: upgrade Polymer from 0.5 to 1.0 Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: get bower_components from polymer_1.0.4 Created 5 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « appengine/sheriff_o_matic/ui/ct-results-panel.html ('k') | appengine/sheriff_o_matic/ui/ct-test-list.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/sheriff_o_matic/ui/ct-step-failure-card.html
diff --git a/appengine/sheriff_o_matic/ui/ct-step-failure-card.html b/appengine/sheriff_o_matic/ui/ct-step-failure-card.html
index bcb108876c7a54cd9e95898367d298ffdd959684..9d7138a58fdbf2d9ce65dd889fd6c118bc702023 100644
--- a/appengine/sheriff_o_matic/ui/ct-step-failure-card.html
+++ b/appengine/sheriff_o_matic/ui/ct-step-failure-card.html
@@ -2,15 +2,12 @@
Copyright 2014 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
--->
-
-<link rel="import" href="ct-builder-grid.html">
+--><html><head><link rel="import" href="ct-builder-grid.html">
<link rel="import" href="ct-commit-list.html">
<link rel="import" href="ct-test-list.html">
-<polymer-element name="ct-step-failure-card" attributes="group commitLog">
- <template>
- <style>
+<dom-module id="ct-step-failure-card">
+ <style>
:host {
display: flex;
}
@@ -40,29 +37,35 @@ found in the LICENSE file.
}
}
</style>
+ <template>
<div>
- <ct-builder-grid builderList="{{ group.builderList }}"></ct-builder-grid>
+ <ct-builder-grid builderlist="{{ group.builderList }}"></ct-builder-grid>
<ct-test-list tests="{{ group.failures }}"></ct-test-list>
</div>
- <ct-commit-list commitList="{{ group.commitList }}" suspectedCLsByRepo="{{ group.suspectedCLsByRepo }}"></ct-commit-list>
+ <ct-commit-list commitlist="{{ group.commitList }}" suspectedclsbyrepo="{{ group.suspectedCLsByRepo }}"></ct-commit-list>
</template>
<script>
Polymer({
- group: null,
- repositories: null,
- _builderList: null,
-
- observe: {
- group: '_updateCommitList',
- repositories: '_updateCommitList',
+ is: 'ct-step-failure-card',
+ properties: {
+ _builderList: { value: null },
+ commitLog: { notify: true },
+ group: {
+ value: null,
+ notify: true,
+ observer: '_updateCommitList'
+ },
+ repositories: {
+ value: null,
+ observer: '_updateCommitList'
+ }
},
-
- _updateCommitList: function() {
+ _updateCommitList: function () {
if (this.group && this.group.commitList && this.repositories)
this.group.commitList.update(this.repositories);
- },
+ }
});
</script>
-</polymer-element>
+</dom-module>
« no previous file with comments | « appengine/sheriff_o_matic/ui/ct-results-panel.html ('k') | appengine/sheriff_o_matic/ui/ct-test-list.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698