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

Unified Diff: src/tests/site/code/webui/web/webui.html

Issue 22528003: update examples on homepage (Closed) Base URL: https://github.com/dart-lang/dartlang.org.git@master
Patch Set: tweak Created 7 years, 4 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
« no previous file with comments | « src/tests/site/code/webui/web/webui.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/tests/site/code/webui/web/webui.html
diff --git a/src/tests/site/code/webui/web/webui.html b/src/tests/site/code/webui/web/webui.html
new file mode 100644
index 0000000000000000000000000000000000000000..0d5cef96c625e25cef140e6430ee0270eebd1035
--- /dev/null
+++ b/src/tests/site/code/webui/web/webui.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+
+<html>
+ <head>
+ <meta charset="utf-8">
+ <title>Sample app</title>
+ </head>
+
+ <body>
+ <template id="stringManipulation"
+ instantiate="if shout != null">
+ <input type="text"
+ bind-value="shout.myString"
+ placeholder="Type here">
+
+ <div> Shouted: {{shout.shouted}} </div>
+ <div> Palindromic: {{shout.palindrome}} </div>
+ </template>
+
+ <script type="application/dart" src="webui.dart"></script>
+ <script src="packages/browser/dart.js"></script>
+ </body>
+</html>
« no previous file with comments | « src/tests/site/code/webui/web/webui.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698