Using listenTo instead of on

This commit is contained in:
Mark McDowall
2013-08-19 08:12:35 -07:00
parent 6d280122ff
commit 551e6e2e5b
2 changed files with 3 additions and 3 deletions

View File

@@ -34,7 +34,7 @@ define(
allFilesDownloaded: allDownloaded
});
this.model.on('sync', function () {
this.listenTo(this.model, 'sync', function () {
this.render();
}, this);
},