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

Popular posts from this blog

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -