Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: lib/filesystem/io.js

Issue 5923900886089728: Use FileSystem API to store data in Opera (Closed)
Patch Set: Better approach to prevent first-run page from appearing Created Nov. 26, 2013, 12:35 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« background.js ('K') | « background.js ('k') | lib/websql/io.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/filesystem/io.js
===================================================================
--- a/lib/filesystem/io.js
+++ b/lib/filesystem/io.js
@@ -69,16 +69,17 @@ var IO = exports.IO =
{
// Code attempts to read the default patterns.ini, we don't have that.
// Make sure to execute first-run actions instead.
var Utils = require("utils").Utils;
Utils.runAsync(function()
{
if (localStorage.currentVersion)
seenDataCorruption = true;
+ delete localStorage.currentVersion;
callback(null);
});
return;
}
this._getFileEntry(file, false, function(fs, fileEntry)
{
fileEntry.file(function(file)
« background.js ('K') | « background.js ('k') | lib/websql/io.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld