Commit 4af033d58aee39e3a1ecfa338d1725268d72874f
static
Dominic Tarr committed on 8/23/2016, 4:59:48 AMParent: ef1a2eaa163709173d29cc9f3fc446695e466fe7
Files changed
index.html | changed |
manifest.appcache | changed |
index.html | |||
---|---|---|---|
@@ -279,8 +279,9 @@ | |||
279 | 279 … | else if(ls.length) cb(null, ls) | |
280 | 280 … | else { | |
281 | 281 … | console.log('restore from legacy log...') | |
282 | 282 … | var versions = u.parse(localStorage[appname+'_versions']) | |
283 … | + if(!versions) return cb(null, []) | ||
283 | 284 … | var n = Object.keys(versions).length | |
284 | 285 … | for(var ts in versions) { | |
285 | 286 … | log.append(versions[ts], function () { | |
286 | 287 … | if(--n) return | |
@@ -299,12 +300,8 @@ | |||
299 | 300 … | } | |
300 | 301 … | } | |
301 | 302 … | ||
302 | 303 … | ||
303 | - | ||
304 | - | ||
305 | - | ||
306 | - | ||
307 | 304 … | },{"./fetch":5,"./package.json":17,"./util":20}],5:[function(require,module,exports){ | |
308 | 305 … | var BinaryXHR = require('binary-xhr') | |
309 | 306 … | var hasHash = /([A-Za-z0-9\/+]{43}=)\.sha256/ | |
310 | 307 … | var isUrl = /^https?:\/\// |
Built with git-ssb-web