Permalink
Browse files

check for console smarter

  • Loading branch information...
1 parent f1c5349 commit 038c00457e07121254d3ded1d412ff88c8dc5917 @zzo committed Aug 27, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 backend/nodejute/jute/jute_docs/jute_client.js
  2. +1 −1 backend/nodejute/package.json
View
2 backend/nodejute/jute/jute_docs/jute_client.js
@@ -43,7 +43,7 @@ YUI().add('jute', function(Y) {
});
// Immediately push console message in case we never hear from this dude again
- if (console) {
+ if (typeof(console) == 'object') {
var oCL = console.log,
oCE = console.error;
View
2 backend/nodejute/package.json
@@ -2,7 +2,7 @@
"name": "jute",
"description": "Javascript Unit Test Environment",
"keywords": ["selenium", "test", "testing", "unit", "tests"],
- "version": "0.0.47",
+ "version": "0.0.48",
"author": "Mark Ethan Trostler <mark@zzo.com>",
"preferGlobal": true,
"bin" : {

0 comments on commit 038c004

Please sign in to comment.