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

Unified Diff: third_party/pkg/route_hierarchical/example/basic/example.html

Issue 124053002: Adding Angular and dependent packages for testing (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 12 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: third_party/pkg/route_hierarchical/example/basic/example.html
diff --git a/third_party/pkg/route_hierarchical/example/basic/example.html b/third_party/pkg/route_hierarchical/example/basic/example.html
new file mode 100644
index 0000000000000000000000000000000000000000..8ae75ca0e7f8c29e591af911932b9ac700dd1a76
--- /dev/null
+++ b/third_party/pkg/route_hierarchical/example/basic/example.html
@@ -0,0 +1,44 @@
+<!DOCTYPE html>
+
+<html>
+ <head>
+ <title>example</title>
+ <style>
+ section {
+ display: none;
+ width: 600px;
+ height: 400px;
+ border: solid 1px #888;
+ }
+
+ section.selected {
+ display: block;
+ }
+
+ .warning {
+ color: red;
+ }
+ </style>
+ </head>
+
+ <body>
+ <h1>route.dart demo</h1>
+ <p>This demo requires a server to be truly useful. Coming soon!</p>
+ <div id="warning">Dart is not running</div>
+
+ <nav>
+ <a href="#" id="linkOne" title="Section One">One</a>
+ <a href="#" id="linkTwo" title="Section Two">Two</a>
+ </nav>
+
+ <section id="one">
+ <h2>Section One</h2>
+ </section>
+ <section id="two">
+ <h2>Section Two</h2>
+ </section>
+
+ <script type="application/dart" src="example.dart"></script>
+ <script src="packages/browser/dart.js"></script>
+ </body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698