You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ja...@apache.org on 2013/03/15 17:34:29 UTC

[1/2] git commit: Really fix `make check-js`. Sorry.

Really fix `make check-js`. Sorry.


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

Branch: refs/heads/master
Commit: 1b0f157bc520f9d7ad20f7388391b74405b1dc5e
Parents: 2a12da3
Author: Jan Lehnardt <ja...@apache.org>
Authored: Fri Mar 15 17:34:07 2013 +0100
Committer: Jan Lehnardt <ja...@apache.org>
Committed: Fri Mar 15 17:34:07 2013 +0100

----------------------------------------------------------------------
 share/www/script/test/attachment_ranges.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/1b0f157b/share/www/script/test/attachment_ranges.js
----------------------------------------------------------------------
diff --git a/share/www/script/test/attachment_ranges.js b/share/www/script/test/attachment_ranges.js
index ee1129a..7d9afb5 100644
--- a/share/www/script/test/attachment_ranges.js
+++ b/share/www/script/test/attachment_ranges.js
@@ -23,7 +23,7 @@ couchTests.attachment_ranges = function(debug) {
 
     if (debug) debugger;
 
-    if(window && window.navigator.userAgent.match(/Chrome/)) {
+    if((typeof window != "undefined") && window.navigator.userAgent.match(/Chrome/)) {
         // Chrome is broken.
         return;
     }