diff options
author | Russell Branca <chewbranca@gmail.com> | 2013-03-15 16:49:53 -0700 |
---|---|---|
committer | Russell Branca <chewbranca@gmail.com> | 2013-03-15 16:49:53 -0700 |
commit | 68320bb06a6107097a52cd25978341a8eb3ec3bb (patch) | |
tree | 4123c218279a595459ac0ba5c2c8293ef36bb621 | |
parent | f32f4f341c8b09a27bbe33703409174c7b84d15c (diff) | |
download | couchdb-68320bb06a6107097a52cd25978341a8eb3ec3bb.tar.gz |
Make sure we have a console.log available
-rw-r--r-- | src/fauxton/app/app.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/fauxton/app/app.js b/src/fauxton/app/app.js index 0d9672064..ffd2227aa 100644 --- a/src/fauxton/app/app.js +++ b/src/fauxton/app/app.js @@ -12,6 +12,13 @@ define([ function($, _, Backbone, Helpers) { + // Make sure we have a console.log + if (typeof console == "undefined") { + console = { + log: function(){} + }; + } + // Provide a global location to place configuration settings and module // creation. var app = { |