Skip to content
Permalink
Browse files
Fixed Multiple console log issues
In function writeFile changed console.log("Successful file read") to console.log("Successful file write")
  • Loading branch information
suryasingh committed Jul 18, 2016
1 parent a309a3d commit 113f8144be89169b05018020880df4fca70c1fb9
Showing 1 changed file with 2 additions and 2 deletions.
@@ -632,12 +632,12 @@ function writeFile(fileEntry, dataObj) {
fileEntry.createWriter(function (fileWriter) {
fileWriter.onwriteend = function() {
console.log("Successful file read...");
console.log("Successful file write...");
readFile(fileEntry);
};
fileWriter.onerror = function (e) {
console.log("Failed file read: " + e.toString());
console.log("Failed file write: " + e.toString());
};
// If data object is not passed in,

0 comments on commit 113f814

Please sign in to comment.