Skip to content

Instantly share code, notes, and snippets.

@javisantana
Created February 1, 2012 09:50
Show Gist options
  • Save javisantana/1716208 to your computer and use it in GitHub Desktop.
Save javisantana/1716208 to your computer and use it in GitHub Desktop.
backbone signals
var f = _.after(2, function() {
// do something with both collections
});
this.collection1.bind('reset', f);
this.collection2.bind('reset', f);
@edulan
Copy link

edulan commented Aug 28, 2012

Gracias por el aporte Javi, resulta muy útil cuando tienes que agrupar múltiples peticiones.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment