Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

removes debug trace

  • Loading branch information...
commit 8d745a738e516dda2fb11ebc5f18be53191e47e3 1 parent e93bef7
@reyesr authored
Showing with 1 addition and 3 deletions.
  1. +1 −3 examples/mame/mamesearch.js
View
4 examples/mame/mamesearch.js
@@ -7,12 +7,10 @@ var MameSearch = (function(){
function makeInitializer(progressCallback) {
return function(injector, callback) {
var synchro = fullproof.make_synchro_point(callback, data.length-1);
- console.log("INITIALIZER starting");
var values = [];
for (var i=0;i<data.length; ++i) {
values.push(i);
}
- console.log("INITIALIZER injecting");
injector.injectBulk(data, values, callback, progressCallback);
}
}
@@ -42,7 +40,7 @@ var MameSearch = (function(){
engine.open([index1, index2], fullproof.make_callback(callback, true), fullproof.make_callback(callback, false));
}, function(txt, file) { data = txt.split("\n"); },
- function() { console.log("ERROR");});
+ function() { console && console.log && console.log("ERROR");});
}
Please sign in to comment.
Something went wrong with that request. Please try again.