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

Unified Diff: pkg/polymer/example/component/news/test/news_index_test.html

Issue 23224003: move polymer.dart into dart svn (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: add --deploy to todomvc sample Created 7 years, 4 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: pkg/polymer/example/component/news/test/news_index_test.html
diff --git a/pkg/polymer/example/component/news/test/news_index_test.html b/pkg/polymer/example/component/news/test/news_index_test.html
new file mode 100644
index 0000000000000000000000000000000000000000..95bfadd72921a0c0d35b7f351530e901a6fdb83a
--- /dev/null
+++ b/pkg/polymer/example/component/news/test/news_index_test.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<!--
+This example is from
+https://github.com/dglazkov/Web-Components-Polyfill/blob/master/samples/news
+-->
+<html>
+<head>
+ <title>Simple Web Components Example</title>
+ <link rel="import" href="../web/news-component.html">
+ <script src="packages/polymer/testing/testing.js"></script>
+</head>
+<body>
+<h1>Simple Web Components Example</h1>
+<ul is="x-news">
+ <li><a href="//example.com/stories/1">A story</a></li>
+ <li><a href="//example.com/stories/2">Another story</a></li>
+ <li class="breaking"><a href="//example.com/stories/3">Also a story</a></li>
+ <li><a href="//example.com/stories/4">Yet another story</a></li>
+ <li><a href="//example.com/stories/4">Awesome story</a></li>
+ <li class="breaking"><a href="//example.com/stories/5">Horrible story</a></li>
+</ul>
+<script type="application/dart">
+import 'dart:html';
+main() {
+ window.postMessage('done', '*');
+}
+</script>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698