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> |