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

refactor options for db #79

Merged
merged 1 commit into from
Feb 28, 2013
Merged

refactor options for db #79

merged 1 commit into from
Feb 28, 2013

Conversation

ralphtheninja
Copy link
Member

move getOptions() into closure -> we can remove the this._options parameter

remove options variable from methods, use parameter instead
this is safe since we always create a new object and extend it

move getOptions() into closure -> we can remove the this._options parameter

remove options variable from methods, use parameter instead
this is safe since we always create a new object and extend it
@juliangruber
Copy link
Member

nice, the code looks way cleaner

ralphtheninja pushed a commit that referenced this pull request Feb 28, 2013
@ralphtheninja ralphtheninja merged commit 7bb7d9c into master Feb 28, 2013
@ralphtheninja ralphtheninja deleted the refactor-options branch February 28, 2013 04:42
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

Successfully merging this pull request may close these issues.

2 participants