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

Fix urlRefShim to pass through correct number of arguments #59

Merged
merged 1 commit into from
Mar 20, 2016

Conversation

nagirrab
Copy link
Contributor

Hi,

I noticed a problem with the url shim - if you call e.g. selection.style("cursor") as an accessor, this gets translated by the shim into selection.style("cursor", null) which then actually modifies the value.

This particularly causes problems for the brush examples - the cursor styles disappear.

This should fix it - let me know if you need any more tests/explanation, etc.

Thanks for the project!

@ming-codes
Copy link
Owner

Looks good! Thanks for the PR!

I'll write some test cases to cover this.

ming-codes added a commit that referenced this pull request Mar 20, 2016
Fix urlRefShim to pass through correct number of arguments
@ming-codes ming-codes merged commit 4ddad7b into ming-codes:master Mar 20, 2016
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