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

Unified Diff: src/site/samples/localstorage/example/index.html

Issue 27267004: Re-configured samples page. (Closed) Base URL: https://github.com/dart-lang/dartlang.org.git@master
Patch Set: Created 7 years, 2 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/samples/localstorage/example/index.html
diff --git a/src/site/samples/localstorage/example/index.html b/src/site/samples/localstorage/example/index.html
new file mode 100644
index 0000000000000000000000000000000000000000..d19fe9773c3323ce67966e864e2403db47b7a1ee
--- /dev/null
+++ b/src/site/samples/localstorage/example/index.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+
+<!--
+ 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.
+-->
+
+<html>
+ <head>
+ <meta charset="utf-8">
+ <title>Local Storage in Dart</title>
+ </head>
+ <body>
+ <h1>Local Storage in Dart</h1>
+
+ <p>
+ From local storage: <output id="username-output"></output>
+ </p>
+
+ <label for="username">Username:</label>
+ <input type="text" name="username" id="username">
+ <input type="submit" id="save" value="Save">
+
+ <script type="application/dart" src="localstorage.dart"></script>
+ <script src="packages/browser/dart.js"></script>
+ </body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698