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

Unified Diff: samples/third_party/dromaeo/Dromaeo.dart

Issue 11418075: Dartifying members. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fixing menuelement.compact exclusion. Created 8 years, 1 month 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 | « samples/swarm/SwarmViews.dart ('k') | samples/third_party/dromaeo/tests/dom-modify.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/third_party/dromaeo/Dromaeo.dart
diff --git a/samples/third_party/dromaeo/Dromaeo.dart b/samples/third_party/dromaeo/Dromaeo.dart
index d9bb121195e1f6d1c813d483514b560c426d32c5..2c25d3243ef3d90da316a079bb6c2a25bf08b737 100644
--- a/samples/third_party/dromaeo/Dromaeo.dart
+++ b/samples/third_party/dromaeo/Dromaeo.dart
@@ -33,8 +33,8 @@ class SuiteController {
final meanAsString = mean.toStringAsFixed(2);
final errorAsString = error.toStringAsFixed(2);
final Element progressDisplay = _element.nextNode.nextNode;
- progressDisplay.innerHTML =
- '${progressDisplay.innerHTML}<li><b>${testName}:</b>'
+ progressDisplay.innerHtml =
+ '${progressDisplay.innerHtml}<li><b>${testName}:</b>'
'${meanAsString}<small> runs/s &#177;${errorAsString}%<small></li>';
_updateTestPos(percent);
}
@@ -55,8 +55,8 @@ class SuiteController {
final mean = Math.pow(_meanProduct, 1.0 / _nTests).toStringAsFixed(2);
info = '<span>${mean} runs/s</span>';
}
- _element.innerHTML =
- '<b>${suiteName}:</b>'
+ _element.innerHtml =
+ '<b>${suiteName}:</b>'
'<div class="bar"><div style="width:${percent}%;">${info}</div></div>';
}
@@ -66,12 +66,12 @@ class SuiteController {
final description = _suiteDescription.description;
final originUrl = _suiteDescription.origin.url;
final testUrl = 'tests/${_suiteDescription.file}';
- div.innerHTML =
- '${div.innerHTML}<p>${description}<br/><a href="${originUrl}">Origin</a'
+ div.innerHtml =
+ '${div.innerHtml}<p>${description}<br/><a href="${originUrl}">Origin</a'
'>, <a href="${testUrl}">Source</a>'
'<ol class="results"></ol>';
// Reread the element, as the previous wrapper get disconnected thanks
- // to .innerHTML update above.
+ // to .innerHtml update above.
_element = div.nodes[0];
document.query('#main').nodes.add(div);
@@ -123,7 +123,7 @@ class Dromaeo {
final Element suiteNameElement = _byId('overview').nodes[0];
final category = Suites.getCategory(tags);
if (category != null) {
- suiteNameElement.innerHTML = category;
+ suiteNameElement.innerHtml = category;
}
_css(_byId('tests'), 'display', 'none');
for (SuiteDescription suite in Suites.getSuites(tags)) {
@@ -150,7 +150,7 @@ class Dromaeo {
final mins = (estimatedTimeSecs / 60).floor().toInt();
final secs = (estimatedTimeSecs - mins * 60).round().toInt();
final secsAsString = '${(secs < 10 ? "0" : "")}$secs';
- _byId('left').innerHTML = '${mins}:${secsAsString}';
+ _byId('left').innerHtml = '${mins}:${secsAsString}';
final elapsed = totalTimeSecs - estimatedTimeSecs;
final percent = (100 * elapsed / totalTimeSecs).toStringAsFixed(2);
« no previous file with comments | « samples/swarm/SwarmViews.dart ('k') | samples/third_party/dromaeo/tests/dom-modify.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698