Skip to content

Instantly share code, notes, and snippets.

@andrewkowalik
Created July 8, 2013 16:20
Show Gist options
  • Save andrewkowalik/5950249 to your computer and use it in GitHub Desktop.
Save andrewkowalik/5950249 to your computer and use it in GitHub Desktop.
Log all Backbone.js events in a given model/collection
that.listenTo(that.model.get('lists'),'all', function(en) {
console.log(en);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment