Skip to content

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