space, → | next slide |
← | previous slide |
d | debug mode |
## <ret> | go to slide # |
c | table of contents (vi) |
f | toggle footer |
r | reload slides |
z | toggle help (this) |
window.sessionStorage
window.localStorage
localStorage['color'] = "green";
localStorage.user = JSON.stringify(obj);
localStorage.setItem('day', 'Monday');
var color = localStorage['color'];
var user = JSON.parse(localStorage.user);
var day = localStorage.getItem('day');
localStorage.clear()
localStorage.removeItem(key)
localStorage.length
localStorage.key(i)
CACHE MANIFEST
# Updated: 2011-01-31 11:10:31 -0500
NETWORK:
*
CACHE:
http://ajax.googleapis.com/jquery.js
/home
/javascripts/application.js
/stylesheets/application.css
/images/logo.png
/data.json
FALLBACK:
/offline.html
<!DOCTYPE html>
<html manifest='/cache.manifest'>
swapCache()
var appCache = window.applicationCache;
if (appCache.status === appCache.UPDATEREADY ||
appCache.status === appCache.DOWNLOADING) {
handleDownloading();
}
if (appCache.status === appCache.UPDATEREADY) {
handleOfflineReady();
} else {
appCache.addEventListener('cached', handleOfflineReady);
appCache.addEventListener('updateready', handleOfflineReady);
appCache.addEventListener('downloading', handleDownloading);
appCache.addEventListener('error', handleCacheError);
}
/javascripts/application.js?1291049950