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

Unified Diff: dashboard/dashboard/elements/base-chart.html

Issue 1923973003: [Polymer10] Convert base-chart.html to Polymer 1.0 (Closed) Base URL: git@github.com:catapult-project/catapult.git@polymer10-migration
Patch Set: Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dashboard/dashboard/elements/base-chart.html
diff --git a/dashboard/dashboard/elements/base-chart.html b/dashboard/dashboard/elements/base-chart.html
index 50281e29fd6d336ef24a49a87d6b856dea6aea7d..f3fd5371062b20cf3cb78eb1180888bbc2a0cecf 100644
--- a/dashboard/dashboard/elements/base-chart.html
+++ b/dashboard/dashboard/elements/base-chart.html
@@ -5,10 +5,23 @@ Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
-<polymer-element name="base-chart" attributes="chartTitle units flotData">
+<dom-module id="base-chart">
<script>
'use strict';
- Polymer('base-chart', {
+ Polymer({
+
+ is: 'base-chart',
+ properties: {
+ chartTitle: { notify: true },
+
+ flotData: {
+ notify: true,
+ observer: 'flotDataChanged'
+ },
+
+ units: { notify: true }
+ },
+
getChartOptions: function() {
return {};
},
@@ -90,4 +103,4 @@ found in the LICENSE file.
}
});
</script>
-</polymer-element>
+</dom-module>
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698