Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

47 lines (34 sloc) 0.996 kb
<!doctype html>
<html manifest="sync.appcache">
<head>
<title>Offline files with HTML5</title>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div id="no-support">
Your browser doesn't support this demo, you'll need to
grab the latest version of <a href="http://www.google.co.uk/chrome">
Google Chrome</a> to be sure it will work.
</div>
<ol id="dir-tree">
<?php include 'file-list.php'; ?>
</ol>
</body>
<script src="js/sync.js"></script>
<script>
(function (w) {
if (typeof w.webkitRequestFileSystem === 'undefined') {
document.getElemntById('no-support').style.display = 'block';
return;
}
w.webkitStorageInfo.requestQuota(w.PERSISTENT, 5*1024*1024, function(gb) {
w.webkitRequestFileSystem(
w.PERSISTENT
, gb
, fileSync.init
, fileSync.err
);
}, fileSync.err);
})(window);
</script>
</html>
Jump to Line
Something went wrong with that request. Please try again.