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

Unified Diff: src/site/samples/localstorage/example/localstorage.dart

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/localstorage.dart
diff --git a/src/site/samples/localstorage/example/localstorage.dart b/src/site/samples/localstorage/example/localstorage.dart
new file mode 100644
index 0000000000000000000000000000000000000000..135425f7d21863165959fe754c51093f01548843
--- /dev/null
+++ b/src/site/samples/localstorage/example/localstorage.dart
@@ -0,0 +1 @@
+import "dart:html" as g;class n{static const o="Chrome";static const q="Firefox";static const s="Internet Explorer";static const t="Safari";final l;final minimumVersion;const n(this.l,[this.minimumVersion]);}class u{const u();}class v{final name;const v(this.name);}class AB{const AB();}class BB{const BB();} main(){var h=g.query('#username');var m=g.query('#save');var i=g.query('#username-output');var j=g.window.localStorage;var k=j['username'];if(k!=null){i.text=k;}m.onClick.listen(( CB){i.text=h.value;j['username']=h.value;});}

Powered by Google App Engine
This is Rietveld 408576698