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

Assert that an added layer has .insert function #94

Open
garrensmith opened this issue Apr 7, 2014 · 0 comments
Open

Assert that an added layer has .insert function #94

garrensmith opened this issue Apr 7, 2014 · 0 comments

Comments

@garrensmith
Copy link

Hi,

First off, I really like d3.chart. Great work and nice idea.
As a new user of this library I made the mistake of not adding an insert function to a layer. It took me a while to debug the problem.

I think it would be a good idea to add an d3cAssert in Layer.prototype.draw to make sure that this layer has an insert function.

If you are happy with this idea, I can send a PR.

@garrensmith garrensmith changed the title Assert that a added layer has .insert function Assert that an added layer has .insert function Apr 7, 2014
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

No branches or pull requests

1 participant