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

Unified Diff: pkg/polymer/test/js_interop_test.dart

Issue 723393003: update to polymer js 0.5.1 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: little bit of cleanup Created 6 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
Index: pkg/polymer/test/js_interop_test.dart
diff --git a/pkg/polymer/test/js_interop_test.dart b/pkg/polymer/test/js_interop_test.dart
index b8cdd5a7a2deb6bc0f00540e2f47b8b8664baf8c..ffae802ef531b8125f8f99f80c07397a74d2242d 100644
--- a/pkg/polymer/test/js_interop_test.dart
+++ b/pkg/polymer/test/js_interop_test.dart
@@ -137,13 +137,13 @@ testInterop(jsElem) {
});
}
-/// Calls Platform.flush() to flush Polymer.js pending operations, e.g.
+/// Calls WebComponents.flush() to flush Polymer.js pending operations, e.g.
/// dirty checking for data-bindings.
Future flush() {
- var Platform = context['Platform'];
- Platform.callMethod('flush');
+ var Polymer = context['Polymer'];
+ Polymer.callMethod('flush');
Siggi Cherem (dart-lang) 2014/11/25 17:53:41 same here as in instance.dart -- I thought this wo
jakemac 2014/12/01 18:42:50 Updated comment
var completer = new Completer();
- Platform.callMethod('endOfMicrotask', [() => completer.complete()]);
+ Polymer.callMethod('endOfMicrotask', [() => completer.complete()]);
return completer.future;
}

Powered by Google App Engine
This is Rietveld 408576698