mirror of https://github.com/Sonarr/Sonarr
21 lines
499 B
JavaScript
21 lines
499 B
JavaScript
'use strict';
|
||
define(
|
||
[
|
||
'marionette',
|
||
'Settings/Naming/NamingModel',
|
||
'Mixins/AsModelBoundView'
|
||
], function (Marionette, NamingModel, AsModelBoundView) {
|
||
|
||
var view = Marionette.ItemView.extend({
|
||
template: 'Settings/Naming/NamingTemplate',
|
||
|
||
initialize: function () {
|
||
this.model = new NamingModel();
|
||
this.model.fetch();
|
||
}
|
||
|
||
});
|
||
|
||
return AsModelBoundView.call(view);
|
||
});
|