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

Unified Diff: chrome/browser/resources/chromeos/emulator/battery_settings.html

Issue 2895723002: [WebUI] use one-way Polymer binding on dom-if, dom-repeat, and iron-list (Closed)
Patch Set: Created 3 years, 7 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
Index: chrome/browser/resources/chromeos/emulator/battery_settings.html
diff --git a/chrome/browser/resources/chromeos/emulator/battery_settings.html b/chrome/browser/resources/chromeos/emulator/battery_settings.html
index 99666b629e85cbf672757d3586f8e18e7aa33fe8..9eceac96f0bddbc316c7a467f1608215a9ad8e9b 100644
--- a/chrome/browser/resources/chromeos/emulator/battery_settings.html
+++ b/chrome/browser/resources/chromeos/emulator/battery_settings.html
@@ -38,7 +38,7 @@
<paper-input label="Battery percentage" value="[[batteryPercent]]"
on-change="onBatteryPercentChange" type="number">
</paper-input>
-
+
<paper-input label="Seconds until empty" value="[[timeUntilEmpty]]"
on-change="onTimeUntilEmptyChange" type="number">
</paper-input>
@@ -57,7 +57,7 @@
<td class="centered-cell-label">Role</td>
<td class="centered-cell-label">Amps</td>
</tr>
- <template is="dom-repeat" items="{{powerSourceOptions}}">
+ <template is="dom-repeat" items="[[powerSourceOptions]]">
<tr>
<td class="alias-cell">[[item.name]]</td>
<td class="control-cell">

Powered by Google App Engine
This is Rietveld 408576698