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

Unified Diff: src/site/docs/tutorials/indexeddb/examples/count_down/web/tute_milestone.html

Issue 275613002: Update polymer tutorial; make directory paths match new sample structure (Closed) Base URL: https://github.com/dart-lang/dartlang.org.git@master
Patch Set: Created 6 years, 7 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: src/site/docs/tutorials/indexeddb/examples/count_down/web/tute_milestone.html
diff --git a/src/site/docs/tutorials/indexeddb/examples/count_down/web/tute_milestone.html b/src/site/docs/tutorials/indexeddb/examples/count_down/web/tute_milestone.html
new file mode 100644
index 0000000000000000000000000000000000000000..6478001d089570035c5de84e301fcc6c0ac728ba
--- /dev/null
+++ b/src/site/docs/tutorials/indexeddb/examples/count_down/web/tute_milestone.html
@@ -0,0 +1,17 @@
+<!-- Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+ for details. All rights reserved. Use of this source code is governed by a
+ BSD-style license that can be found in the LICENSE file.
+-->
+
+<!DOCTYPE html>
+
+<html>
+ <body>
+ <polymer-element name="tute-milestone" attributes="milestone">
+ <template>
+ <span>{{milestone.timeRemainingAsString}}</span> <button on-click="{{removeMilestone}}">-</button>
+ </template>
+ <script type="application/dart;component=1" src="tute_milestone.dart"></script>
+ </polymer-element>
+ </body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698