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

Unified Diff: appengine/sheriff_o_matic/ui/ct-button.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-builder-status.html ('k') | appengine/sheriff_o_matic/ui/ct-chart.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-button.html
diff --git a/appengine/sheriff_o_matic/ui/ct-button.html b/appengine/sheriff_o_matic/ui/ct-button.html
index 141aacd61767dffc812a76a1b2dfed1ae46168a5..6aecf970563dbc69788d47283c2740a9038bdcb2 100644
--- a/appengine/sheriff_o_matic/ui/ct-button.html
+++ b/appengine/sheriff_o_matic/ui/ct-button.html
@@ -2,13 +2,10 @@
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.
--->
+--><html><head><link rel="import" href="../bower_components/paper-button/paper-button.html">
-<link rel="import" href="../bower_components/paper-button/paper-button.html">
-
-<polymer-element name="ct-button" attributes="label onTap" noscript>
- <template>
- <style>
+<dom-module id="ct-button">
+ <style>
:host {
display: flex;
flex-direction: column;
@@ -30,6 +27,16 @@ found in the LICENSE file.
color: #222;
}
</style>
- <paper-button raised on-tap="{{ onTap }}">{{ label }}</paper-button>
+ <template>
+ <paper-button raised="" on-tap=" onTap ">{{ label }}</paper-button>
</template>
-</polymer-element>
+ <script>
+ Polymer({
+ is: 'ct-button',
+ properties: {
+ label: { notify: true },
+ onTap: { notify: true }
+ }
+ });
+ </script>
+</dom-module>
« no previous file with comments | « appengine/sheriff_o_matic/ui/ct-builder-status.html ('k') | appengine/sheriff_o_matic/ui/ct-chart.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698