With the current implementation, events that are specific to selected/deselected locations are being put out into the Backbone.Events object, which means that this library is leaking a bit outside of its containment.
I've made the GoogleMaps object itself into an event bus and updated the global events to be scoped to just the library.
With the current implementation, events that are specific to selected/deselected locations are being put out into the Backbone.Events object, which means that this library is leaking a bit outside of its containment.
I've made the GoogleMaps object itself into an event bus and updated the global events to be scoped to just the library.