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

Unified Diff: samples/third_party/todomvc/web/index.html

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/web/index.html
diff --git a/samples/third_party/todomvc/web/index.html b/samples/third_party/todomvc/web/index.html
index 694cc3178647b81ba92c00daad8d6ebf2eb582c3..45b2cb3e39a04fc2de08e532490b736d28f2892d 100644
--- a/samples/third_party/todomvc/web/index.html
+++ b/samples/third_party/todomvc/web/index.html
@@ -9,12 +9,15 @@ BSD-style license that can be found in the LICENSE file.
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<link rel="import" href="app.html">
- <script type="application/dart" src="packages/polymer/init.dart"></script>
- <script src="packages/browser/dart.js"></script>
<link rel="stylesheet" href="base.css">
<title>Dart • TodoMVC</title>
</head>
<body>
<todo-app></todo-app>
+ <script type="application/dart">
+ import 'package:polymer/polymer.dart' as m;
+ main() => m.initPolymer();
+ </script>
+ <script src="packages/browser/dart.js"></script>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698