Permalink
Browse files

removes debug trace

  • Loading branch information...
1 parent e93bef7 commit 8d745a738e516dda2fb11ebc5f18be53191e47e3 @reyesr committed Sep 25, 2012
Showing with 1 addition and 3 deletions.
  1. +1 −3 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");});
}

0 comments on commit 8d745a7

Please sign in to comment.