mirror of
https://github.com/chinchang/web-maker.git
synced 2025-02-23 22:53:18 +01:00
remove logs
This commit is contained in:
parent
a678d6997a
commit
d7303ded7f
@ -743,13 +743,13 @@ onboardDontShowInTabOptionBtn, TextareaAutoComplete */
|
||||
var fileWritten = false;
|
||||
function errorHandler() { utils.log(arguments); }
|
||||
|
||||
utils.log('writing file ', name);
|
||||
// utils.log('writing file ', name);
|
||||
window.webkitRequestFileSystem(window.TEMPORARY, 1024 * 1024 * 5, function(fs){
|
||||
fs.root.getFile(name, { create: true }, function(fileEntry) {
|
||||
fileEntry.createWriter(function(fileWriter) {
|
||||
function onWriteComplete() {
|
||||
if (fileWritten) {
|
||||
utils.log('file written ', name);
|
||||
// utils.log('file written ', name);
|
||||
return cb();
|
||||
}
|
||||
fileWritten = true;
|
||||
@ -761,7 +761,7 @@ onboardDontShowInTabOptionBtn, TextareaAutoComplete */
|
||||
fileWriter.onwriteend = onWriteComplete;
|
||||
// Empty the file contents
|
||||
fileWriter.truncate(0);
|
||||
utils.log('truncating file ', name);
|
||||
// utils.log('truncating file ', name);
|
||||
|
||||
}, errorHandler);
|
||||
}, errorHandler);
|
||||
|
Loading…
x
Reference in New Issue
Block a user