Skip to content

Commit

Permalink
opera has no console, temporarily block early warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
dvv committed Jul 17, 2010
1 parent 1800844 commit 68cbdff
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/jsgi/transporter.js
Expand Up @@ -115,8 +115,7 @@ exports.Transporter = function(options, app) {
return;
}
if(!fileContents && write){
if (console.warn === undefined)
errors.push('console.warn(' + JSON.stringify(moduleName) + ' + " not found");\n');
errors.push('console.warn(' + JSON.stringify(moduleName) + ' + " not found");\n');
return;
}
if(moduleName === "require"){
Expand Down

0 comments on commit 68cbdff

Please sign in to comment.