couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject [1/2] git commit: fix `make check-js`
Date Fri, 15 Mar 2013 15:48:05 GMT
fix `make check-js`


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

Branch: refs/heads/1.3.x
Commit: 0adddab4a8fa8672e0299527c6f4284e7f6cd686
Parents: 341e8bf
Author: Jan Lehnardt <jan@apache.org>
Authored: Fri Mar 15 16:47:22 2013 +0100
Committer: Jan Lehnardt <jan@apache.org>
Committed: Fri Mar 15 16:47:47 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/0adddab4/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 9b32681..ee1129a 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.navigator.userAgent.match(/Chrome/)) {
+    if(window && window.navigator.userAgent.match(/Chrome/)) {
         // Chrome is broken.
         return;
     }


Mime
View raw message