1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-16 11:37:58 +02:00
Sonarr/UI/Settings/Naming/NamingView.js

19 lines
449 B
JavaScript
Raw Normal View History

2013-03-04 03:09:43 +03:00
'use strict';
2013-06-14 02:19:24 +03:00
define(['app',
2013-06-19 04:02:23 +03:00
'marionette',
'Settings/Naming/NamingModel',
'Mixins/AsModelBoundView'], function (App, Marionette, NamingModel, AsModelBoundView) {
2013-03-04 03:09:43 +03:00
2013-06-19 04:02:23 +03:00
var view = Marionette.ItemView.extend({
template: 'Settings/Naming/NamingTemplate',
2013-03-04 03:09:43 +03:00
initialize: function () {
2013-06-19 04:02:23 +03:00
this.model = new NamingModel();
2013-04-25 07:27:49 +03:00
this.model.fetch();
2013-03-04 03:09:43 +03:00
}
2013-03-04 03:09:43 +03:00
});
2013-06-19 04:02:23 +03:00
return AsModelBoundView.call(view);
});