Closed curran closed 6 years ago
Closes #33
This implementation returns this. It's simpler than the original implementation in #34, results in a slightly smaller bundle, and covers the desired use case.
this
Before:
const state = Topologica({ circlesDOM }); state.set({ selection }); return state;
After:
return Topologica({ circlesDOM }).set({ selection });
Full example: https://vizhub.com/curran/27c261085d8a48618c69f7983672903b
Closes #33
This implementation returns
this
. It's simpler than the original implementation in #34, results in a slightly smaller bundle, and covers the desired use case.Before:
After:
Full example: https://vizhub.com/curran/27c261085d8a48618c69f7983672903b