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

Unified Diff: lib/storage/io.js

Issue 5173395171835904: Issue 2264 - Remove deprecated logic from Utils.runAsync() on Chrome/Opera/Safari (Closed)
Patch Set: Created April 2, 2015, 10:26 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 | lib/utils.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/storage/io.js
===================================================================
--- a/lib/storage/io.js
+++ b/lib/storage/io.js
@@ -70,7 +70,7 @@
this._setFileContents(path, data.join(this.lineBreak) + this.lineBreak, Date.now());
var Utils = require("utils").Utils;
- Utils.runAsync(callback, null, null);
+ Utils.runAsync(callback.bind(null, null));
},
copyFile: function(fromFile, toFile, callback)
« no previous file with comments | « no previous file | lib/utils.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld