Skip to content

Commit

Permalink
debug function for browser
Browse files Browse the repository at this point in the history
  • Loading branch information
mnaamani committed Mar 6, 2013
1 parent 602156f commit 7aacb89
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ if(typeof process !== "undefined" ){

if(verbose){
otr.debugOn();
debug = console.error;
debug = function(){console.log([].join.call(arguments," "));};
}

if(USE_VFS){
Expand Down
2 changes: 1 addition & 1 deletion test/testing-events.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ if(typeof process !== "undefined" ){

if(verbose){
otr.debugOn();
debug = function(a,b,c,d,e){console.log(a,b,c,d,e);};
debug = function(){console.log([].join.call(arguments," "));};
}

if(USE_VFS){
Expand Down

0 comments on commit 7aacb89

Please sign in to comment.