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

Unified Diff: tracing/tracing/value/ui/scalar_span.html

Issue 2168933003: [polymer] Various minor fixes in scalar_span.html (Closed) Base URL: git@github.com:catapult-project/catapult.git@polymer10-rebase
Patch Set: Created 4 years, 5 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: tracing/tracing/value/ui/scalar_span.html
diff --git a/tracing/tracing/value/ui/scalar_span.html b/tracing/tracing/value/ui/scalar_span.html
index d1c13933d3f44ca9cfd9195b6ee18c6b0ba27d94..f4ddd35e98ff798c09d334f33ce2a3129147e29f 100644
--- a/tracing/tracing/value/ui/scalar_span.html
+++ b/tracing/tracing/value/ui/scalar_span.html
@@ -128,8 +128,8 @@ tr.exportTo('tr.v.ui', function() {
<span id="warning" style="display:none">&#9888;</span>
</template>
</dom-module>
- <script>
- 'use strict';
+<script>
+'use strict';
Polymer({
is: 'tr-v-ui-scalar-span',
@@ -295,7 +295,7 @@ Polymer({
// Set the content class separately from the significance class so that
// NEUTRAL_FACE is always a neutral color.
if (changeClass)
- this.$.content.classList.add(changeClass);
+ Polymer.dom(this.$.content).classList.add(changeClass);
switch (this.significance) {
case tr.v.Significance.DONT_CARE:
@@ -318,11 +318,11 @@ Polymer({
break;
}
- this.$.significance.textContent = emoji;
+ Polymer.dom(this.$.significance).textContent = emoji;
this.$.significance.title = title;
this.$.content.title = title;
if (changeClass)
- this.$.significance.classList.add(changeClass);
+ Polymer.dom(this.$.significance).classList.add(changeClass);
},
get warning() {
« 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