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

Unified Diff: samples/third_party/todomvc/test/mainpage_test.dart

Issue 27903006: Improves how to initialize polymer apps and fixes polymer build and linter to (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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: samples/third_party/todomvc/test/mainpage_test.dart
diff --git a/samples/third_party/todomvc/test/mainpage_test.dart b/samples/third_party/todomvc/test/mainpage_test.dart
index 97347154061c224e383e8e863703d57326b405e2..d0f489d0607c41b758fff3d67cd66d82eb156607 100644
--- a/samples/third_party/todomvc/test/mainpage_test.dart
+++ b/samples/third_party/todomvc/test/mainpage_test.dart
@@ -15,7 +15,8 @@ import '../web/model.dart';
* This test runs the TodoMVC app and checks the state of the initial page.
*/
// TODO(jmesserly): verify some styles (colors, fonts, relative size) as well.
-@initMethod _main() {
+main() {
+ initPolymer();
useHtmlConfiguration();
setUp(() => Polymer.onReady);
« no previous file with comments | « samples/third_party/todomvc/test/listorder_test.html ('k') | samples/third_party/todomvc/test/mainpage_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698