Skip to content
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

Document refactor #1351

Closed
aheckmann opened this issue Feb 19, 2013 · 0 comments
Closed

Document refactor #1351

aheckmann opened this issue Feb 19, 2013 · 0 comments
Milestone

Comments

@aheckmann
Copy link
Collaborator

Move methods to Model

var doc = new Thing(..);
Thing.save(doc, callback)

Document should inherit from as little as possible (not EventEmitter for example).

@vkarpov15 vkarpov15 modified the milestones: 4.0.0-rc0, 4.0 Dec 5, 2014
vkarpov15 added a commit that referenced this issue Dec 15, 2014
vkarpov15 added a commit that referenced this issue Dec 15, 2014
vkarpov15 added a commit that referenced this issue Dec 15, 2014
vkarpov15 added a commit that referenced this issue Dec 15, 2014
Document no longer inherits from EventEmitter, instead exposes API wrapper around emitter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants