sonarr-repo-only/NzbDrone.Web/Scripts/backbone/apps/qualityProfileApp.js

19 lines
487 B
JavaScript
Raw Normal View History

2012-11-09 16:28:59 +00:00
QualityProfileApp = {};
QualityProfileApp.Views = {};
QualityProfileApp.Models = {};
QualityProfileApp.Collections = {};
QualityProfileApp.App = new Backbone.Marionette.Application();
// Setup default application views
QualityProfileApp.App.addInitializer(function () {
QualityProfileApp.App.addRegions({
mainRegion: '#profiles'
});
var qualityProfiles = new QualityProfileCollectionView();
QualityProfileApp.App.mainRegion.show(qualityProfiles);
});