couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chewbra...@apache.org
Subject git commit: Make sure we have a console.log available
Date Fri, 15 Mar 2013 23:49:56 GMT
Updated Branches:
  refs/heads/fauxton f32f4f341 -> 68320bb06


Make sure we have a console.log available


Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/68320bb0
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/68320bb0
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/68320bb0

Branch: refs/heads/fauxton
Commit: 68320bb06a6107097a52cd25978341a8eb3ec3bb
Parents: f32f4f3
Author: Russell Branca <chewbranca@gmail.com>
Authored: Fri Mar 15 16:49:53 2013 -0700
Committer: Russell Branca <chewbranca@gmail.com>
Committed: Fri Mar 15 16:49:53 2013 -0700

----------------------------------------------------------------------
 src/fauxton/app/app.js |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/68320bb0/src/fauxton/app/app.js
----------------------------------------------------------------------
diff --git a/src/fauxton/app/app.js b/src/fauxton/app/app.js
index 0d96720..ffd2227 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 = {


Mime
View raw message