Created
October 14, 2015 11:21
-
-
Save marten-de-vries/7934884e71b234f7bca9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var wrappers = require("pouchdb-wrappers"); | |
var noops = {}; | |
// also add all the other methods | |
"get allDocs getAttachment info revsDiff put post".split(" ")).forEach(function (name) { | |
noops[name] = function (orig) {return orig(); }; | |
}); | |
wrappers.installWrapperMethods(db, noops); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment