From cd12d064e66848f1d8a56db58838d6ef5853f39f Mon Sep 17 00:00:00 2001 From: "Didier Villevalois (Ptitjes)" Date: Tue, 28 Nov 2017 15:47:29 +0100 Subject: [PATCH] fix(browser): plugin registration bug introduced in ES6 move --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index e89ac79..a72706f 100644 --- a/src/index.js +++ b/src/index.js @@ -34,7 +34,7 @@ plugin.changePassword = changePassword; plugin.changeUsername = changeUsername; if (typeof window !== 'undefined' && window.PouchDB) { - window.PouchDB.plugin(exports); + window.PouchDB.plugin(plugin); } export default plugin;