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

rewire methods as non-enumerable #32

Merged
merged 1 commit into from
Oct 28, 2014
Merged

rewire methods as non-enumerable #32

merged 1 commit into from
Oct 28, 2014

Conversation

bttmly
Copy link
Contributor

@bttmly bttmly commented Oct 25, 2014

I've run in to trouble iterating over the properties of a rewired module. This PR injects __set__, __get__, and __with__ as non-enumerable properties of a module using Object.defineProperty, with accompanying tests.

@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling ad7056d on nickb1080:master into 3e06f87 on jhnns:master.

jhnns added a commit that referenced this pull request Oct 28, 2014
rewire methods as non-enumerable
@jhnns jhnns merged commit ac3af23 into jhnns:master Oct 28, 2014
@jhnns
Copy link
Owner

jhnns commented Oct 28, 2014

Excellent! 👍

@jhnns
Copy link
Owner

jhnns commented Oct 28, 2014

Published as 2.1.1

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.

3 participants