Permalink
Browse files

opera has no console, temporarily block early warnings

  • Loading branch information...
dvv committed Jul 17, 2010
1 parent 1800844 commit 68cbdff4c5ae649ce8d455d2f218fbe3f5efea87
Showing with 1 addition and 2 deletions.
  1. +1 −2 lib/jsgi/transporter.js
View
@@ -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"){

0 comments on commit 68cbdff

Please sign in to comment.