jquery - Backbone:.js: How to find out who is deleting my model from my collection? -
my view subscribed model's delete event. i'm seeing model delete event being mysteriously triggered , can't find where/how that's being sent code. @ runtime, see models being added collection, before being deleted. how can troubleshoot issue?
as noted above:
if view listening destroy event. give callback method it. put debug point inside event , check call stack. can find on right side in source tab of developer tools when in debug mode.
Comments
Post a Comment