This branch removes the _instances object from the LocusZoom singleton. the reasoning here is that much like our main two dependencies (d3 and Q) this library extends an API for creating and working with a complex object but how that object is stored in memory is up to the developer using the plugin to implement a specific use case.
This is a breaking change, assuming previous LocusZoom plugin implementations relied on plugin instance storage.
This branch removes the
_instances
object from the LocusZoom singleton. the reasoning here is that much like our main two dependencies (d3 and Q) this library extends an API for creating and working with a complex object but how that object is stored in memory is up to the developer using the plugin to implement a specific use case.This is a breaking change, assuming previous LocusZoom plugin implementations relied on plugin instance storage.