-
-
Notifications
You must be signed in to change notification settings - Fork 267
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add manifest #678
Add manifest #678
Conversation
lib/levelup.js
Outdated
Object.keys(this.supports.additionalMethods).forEach(function (method) { | ||
this[method] = this[method] || function () { | ||
// TODO: uhm. if the manifest is based on deferred-leveldown's, | ||
// should we also call the methods via deferred-leveldown? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is tricky.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can work if we agree that deferred-leveldown
itself must not add methods to its additionalMethods
; it should inherit that from its input db (same as levelup
).
No description provided.