Created
October 27, 2014 20:46
-
-
Save dankins/dd63a2b600d2876044cd to your computer and use it in GitHub Desktop.
Test
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <html> | |
| <head> | |
| <title>Surf Router Demo</title> | |
| <meta content="text/html;charset=utf-8" http-equiv="Content-Type"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <meta name="apple-mobile-web-app-capable" content="yes"> | |
| <meta name="mobile-web-app-capable" content="yes"> | |
| <script src="../platform/platform.js"></script> | |
| <link rel="import" href="../polymer/polymer.html"> | |
| <link rel="import" href="surf-router.html"/> | |
| <link rel="import" href="demo/themes.html"/> | |
| <polymer-element name="surf-router-demo"> | |
| <template> | |
| <surf-router routes="{{routes}}"></surf-router> | |
| </template> | |
| <script> | |
| Polymer({ | |
| routes: { | |
| url: "#", | |
| container: "app-body", | |
| imports: "demo/app-body.html", | |
| default: "home", | |
| children: { | |
| home: { | |
| url: "", | |
| container: "app-home", | |
| imports: "demo/main/app-home.html" | |
| } | |
| } | |
| }); | |
| </script> | |
| </polymer-element> | |
| </head> | |
| <body> | |
| <surf-router-demo></surf-router-demo> | |
| </body> | |
| </html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment