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

Unified Diff: lib/websql/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') | « lib/filesystem/io.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/websql/io.js
===================================================================
--- a/lib/websql/io.js
+++ b/lib/websql/io.js
@@ -57,16 +57,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;
}
var path = this._getFilePath(file);
var runAsync = require("utils").Utils.runAsync;
« background.js ('K') | « lib/filesystem/io.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld