Created
February 1, 2012 09:50
-
-
Save javisantana/1716208 to your computer and use it in GitHub Desktop.
backbone signals
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var f = _.after(2, function() { | |
// do something with both collections | |
}); | |
this.collection1.bind('reset', f); | |
this.collection2.bind('reset', f); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Gracias por el aporte Javi, resulta muy útil cuando tienes que agrupar múltiples peticiones.