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

Fixed bug where hydrate was not cleaning up special properties when in an array #6

Merged
merged 2 commits into from
Apr 28, 2013
Merged

Conversation

freethenation
Copy link
Contributor

Fixed bug where hydrate was not cleaning up special properties when in an array. Run the new test case on the old code for a demonstration of the issue.

@@ -253,15 +257,18 @@ scope = this
for num in [o.version..migrations.length - 1]
migrations[num].call(o)
delete o.version

#do actual clean
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing space

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure what space you are referring to. You mean line break?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's just a nitpick, but your other comments have a space after the #, but this one doesn't ;)

@freethenation
Copy link
Contributor Author

Made few changes you mentioned

nanodeath added a commit that referenced this pull request Apr 28, 2013
Fixed bug where hydrate was not cleaning up special properties when in an array
@nanodeath nanodeath merged commit 28560ed into nanodeath:master Apr 28, 2013
@nanodeath
Copy link
Owner

Thanks @freethenation, appreciate the contribution :)

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