mirror of
https://github.com/Readarr/Readarr
synced 2026-01-02 05:37:45 +01:00
18 lines
417 B
JavaScript
18 lines
417 B
JavaScript
'use strict';
|
|
|
|
define([
|
|
'marionette'
|
|
], function (Marionette) {
|
|
|
|
return Marionette.CompositeView.extend({
|
|
itemViewOptions : function () {
|
|
return {
|
|
targetCollection: this.targetCollection || this.options.targetCollection
|
|
};
|
|
},
|
|
|
|
initialize: function (options) {
|
|
this.targetCollection = options.targetCollection;
|
|
}
|
|
});
|
|
});
|