You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ga...@apache.org on 2017/01/12 12:03:24 UTC

couchdb-nano git commit: add reference to server in doc scope

Repository: couchdb-nano
Updated Branches:
  refs/heads/master 939c980ac -> 4e38f2244


add reference to server in doc scope


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

Branch: refs/heads/master
Commit: 4e38f2244aa2833b7e3e2a59964075d9f47b985b
Parents: 939c980
Author: Dominic Barnes <do...@dbarnes.info>
Authored: Tue Jan 10 08:09:08 2017 -0700
Committer: Dominic Barnes <do...@dbarnes.info>
Committed: Wed Jan 11 08:33:04 2017 -0700

----------------------------------------------------------------------
 lib/nano.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-nano/blob/4e38f224/lib/nano.js
----------------------------------------------------------------------
diff --git a/lib/nano.js b/lib/nano.js
index 528e3f5..b9223ba 100644
--- a/lib/nano.js
+++ b/lib/nano.js
@@ -741,7 +741,8 @@ module.exports = exports = nano = function dbScope(cfg) {
       search: viewSearch,
       spatial: viewSpatial,
       view: viewDocs,
-      viewWithList: viewWithList
+      viewWithList: viewWithList,
+      server: serverScope
     };
 
     docScope.view.compact = function(ddoc, cb) {