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

Unified Diff: samples/third_party/todomvc_performance/js_todomvc/components/flatiron-director/demo.html

Issue 204733004: Added TodoMVC startup benchmarks. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 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_performance/js_todomvc/components/flatiron-director/demo.html
diff --git a/samples/third_party/todomvc_performance/js_todomvc/components/flatiron-director/demo.html b/samples/third_party/todomvc_performance/js_todomvc/components/flatiron-director/demo.html
new file mode 100644
index 0000000000000000000000000000000000000000..ea77ba65f27c5030cae1e1790cac01b6fc4fe5f2
--- /dev/null
+++ b/samples/third_party/todomvc_performance/js_todomvc/components/flatiron-director/demo.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<!--
+Copyright 2013 The Polymer Authors. All rights reserved.
+Use of this source code is governed by a BSD-style
+license that can be found in the LICENSE file.
+-->
+<html>
+ <head>
+ <title>Director</title>
+ <script src="../platform/platform.js"></script>
+ <link rel="import" href="flatiron-director.html">
+ </head>
+ <body>
+ <polymer-element name="x-test">
+ <template>
+ <flatiron-director route="{{route}}" autoHash></flatiron-director>
+ hash: <input value="{{route}}">
+ <a href="#barnacle">Relocate</a>
+ </template>
+ <script>
+ Polymer('x-test', {
+ route: 'hello'
+ });
+ </script>
+ </polymer-element>
+
+ <x-test></x-test>
+ </body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698