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

Unified Diff: lib/filterStorage.js

Issue 5147885138083840: Issue 153 - FilterStorage.firstRun isn`t being set (Closed)
Patch Set: Created April 14, 2014, 7:28 a.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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/filterStorage.js
===================================================================
--- a/lib/filterStorage.js
+++ b/lib/filterStorage.js
@@ -470,17 +470,17 @@ let FilterStorage = exports.FilterStorag
this.firstRun = true;
this._loading = false;
FilterNotifier.triggerListeners("load");
TimeLine.leave("FilterStorage.loadFromDisk() read callback done");
}
else
readFile(sourceFile, 0);
- }
+ }.bind(this);
if (sourceFile)
IO.statFile(sourceFile, callback);
else
callback(true);
}
TimeLine.leave("FilterStorage.loadFromDisk() done");
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld