J'essaie d'obtenir le retour de Backbone.js Collection chercher en utilisant le code similaire à celui ci-dessous. Comment contourner le repos?Backbone.js Collection fetch succès retour
var myData = getCollection();
getCollection(){
this.collection = fetchCollection.fetch({
success: function(collection, data) {
collectionData = fetchCollection.toJSON();
return collectionData;
}
},this);
}