Comment out console.logs

pull/98/head
Max Ogden 5 years ago committed by GitHub
parent 2d072e00db
commit 13f7ba2c12
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -84,7 +84,7 @@ module.exports = function(options)
return new Promise(function(resolve, reject) { return new Promise(function(resolve, reject) {
var Module_template = {} var Module_template = {}
if (options.asmjs != true || options.wasm == true) { // wasm if (options.asmjs != true || options.wasm == true) { // wasm
console.log("Using wasm: ", true) // console.log("Using wasm: ", true)
// //
Module_template["locateFile"] = locateFile Module_template["locateFile"] = locateFile
// //
@ -98,7 +98,7 @@ module.exports = function(options)
reject(e); reject(e);
}); });
} else { // this is synchronous so we can resolve immediately } else { // this is synchronous so we can resolve immediately
console.log("Using wasm: ", false) // console.log("Using wasm: ", false)
// //
var scriptDirectory=""; // this was extracted from emscripten - it could get factored if anything else would ever need it var scriptDirectory=""; // this was extracted from emscripten - it could get factored if anything else would ever need it
if (ENVIRONMENT_IS_NODE) { if (ENVIRONMENT_IS_NODE) {
@ -155,4 +155,4 @@ module.exports = function(options)
}, 1) }, 1)
} }
}); });
}; };

Loading…
Cancel
Save