Bind any collection to SignalR with a single call.

This commit is contained in:
kay.one 2013-05-05 17:33:43 -07:00
commit a6aba16902
13 changed files with 106 additions and 26 deletions

View file

@ -6,5 +6,5 @@ define(['app', 'AddSeries/RootFolders/RootFolderModel'], function () {
model: NzbDrone.AddSeries.RootFolders.RootFolderModel
});
return new rootFolderCollection();
return new rootFolderCollection().BindSignalR();
});