Index: src/site/samples/appcache/example/index.html |
diff --git a/src/site/samples/appcache/example/index.html b/src/site/samples/appcache/example/index.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..8bdf4ac380087cef1d99070f165f5866157ca135 |
--- /dev/null |
+++ b/src/site/samples/appcache/example/index.html |
@@ -0,0 +1,30 @@ |
+<!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 manifest="appcache.mf"> |
+ <head> |
+ <meta charset="utf-8"> |
+ <title>Appcache for Beginners</title> |
+ <link rel="stylesheet" href="appcache.css"> |
+ </head> |
+ <body> |
+ <div id="content"> |
+ <h1>This is my killer, cacheable application!</h1> |
+ <p> |
+ To see this example in action, make changes to <code>index.html</code> |
+ and then reload this page. You'll notice that your changes don't show up |
+ because we're showing the cached version instead. Next make a change |
+ such as incrementing the date or version number in |
+ <code>appcache.mf</code>. Now when you reload this page, you'll be |
+ prompted to load the new version. |
+ </p> |
+ </div> |
+ <script type="application/dart" src="appcache.dart"></script> |
+ <script src="packages/browser/dart.js"></script> |
+ </body> |
+</html> |