Last Updated: May 15, 2019
·
556
· havvg

Pass related objects when triggering events

Keep in mind while using Underscore.js and Backbone.js to pass in the related object for any event you trigger.

By default the current scope will be the related object within the callback.
When using _.bind() or _.bindAll() this scope may be altered according to the callback in use - see example.