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

from alchemy.begin return the alchemy object so that it can be aliased #413

Closed
hdngr opened this issue Sep 16, 2014 · 1 comment
Closed

Comments

@hdngr
Copy link
Contributor

hdngr commented Sep 16, 2014

for example:

var viz1 = alchemy.begin(someConf);
var viz2 = alchemy.begin(someOtherConf);

viz1allNodes = viz1.get.allNodes()
viz2allNodes = viz2.get.allNodes()

// etc....
@hdngr hdngr added this to the v0.3 Release milestone Sep 16, 2014
@ghost
Copy link

ghost commented Sep 16, 2014

Just commenting for later reference before a commit takes care of this: while returning the object is just a one liner, we need to make sure that when there are multiple instances there is no bleed in operation, either through API (which there shouldn't be) or through user interaction (more likely due to d3.selectAll(), though hopefully not a problem.)

@ghost ghost closed this as completed Oct 3, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant