couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gar...@apache.org
Subject fauxton commit: updated refs/heads/master to 64ac9e8
Date Mon, 20 Feb 2017 08:00:19 GMT
Repository: couchdb-fauxton
Updated Branches:
  refs/heads/master 6c9f2f8af -> 64ac9e84e


use modular pouchdb


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

Branch: refs/heads/master
Commit: 64ac9e84e8f0f3e88d10f8b43b39862bd136d15a
Parents: 6c9f2f8
Author: Nolan Lawson <nolan.lawson@gmail.com>
Authored: Wed Feb 15 00:06:11 2017 -0800
Committer: Garren Smith <garren.smith@gmail.com>
Committed: Mon Feb 20 09:50:17 2017 +0200

----------------------------------------------------------------------
 app/addons/documents/rev-browser/rev-browser.actions.js | 4 +++-
 package.json                                            | 3 ++-
 2 files changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/64ac9e84/app/addons/documents/rev-browser/rev-browser.actions.js
----------------------------------------------------------------------
diff --git a/app/addons/documents/rev-browser/rev-browser.actions.js b/app/addons/documents/rev-browser/rev-browser.actions.js
index 5e31dd7..1668799 100644
--- a/app/addons/documents/rev-browser/rev-browser.actions.js
+++ b/app/addons/documents/rev-browser/rev-browser.actions.js
@@ -15,7 +15,9 @@
 import FauxtonAPI from "../../../core/api";
 import ActionTypes from "./rev-browser.actiontypes";
 import getTree from "visualizeRevTree/lib/getTree";
-import PouchDB from "pouchdb";
+import PouchDB from "pouchdb-core";
+import PouchHttpAdapter from 'pouchdb-adapter-http';
+PouchDB.plugin(PouchHttpAdapter);
 
 let db;
 

http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/64ac9e84/package.json
----------------------------------------------------------------------
diff --git a/package.json b/package.json
index dfd0c6a..95f568b 100644
--- a/package.json
+++ b/package.json
@@ -30,6 +30,8 @@
     "mocha-phantomjs": "git+https://github.com/garrensmith/mocha-phantomjs.git",
     "nightwatch": "~0.9.0",
     "phantomjs-prebuilt": "^2.1.7",
+    "pouchdb-adapter-http": "^6.1.2",
+    "pouchdb-core": "^6.1.2",
     "react-addons-test-utils": "~15.4.2",
     "redux-devtools": "^3.3.1",
     "redux-mock-store": "^1.2.1",
@@ -84,7 +86,6 @@
     "moment": "^2.17.1",
     "nano": "~5.12.0",
     "optimist": "^0.6.1",
-    "pouchdb": "^6.1.1",
     "react": "~15.4.1",
     "react-addons-css-transition-group": "~15.4.2",
     "react-bootstrap": "^0.30.7",


Mime
View raw message