@ -1,6 +1,5 @@
'use strict';
define(['app', 'Missing/MissingItemView'], function (app) {
define(['app', 'Missing/MissingItemView'], function () {
NzbDrone.Missing.MissingCollectionView = Backbone.Marionette.CompositeView.extend({
itemView : NzbDrone.Missing.MissingItemView,
itemViewContainer: 'tbody',
@ -12,5 +12,5 @@ define([
onRender: function () {
NzbDrone.ModelBinder.bind(this.model, this.el);
}
})
});
@ -1,4 +1,5 @@
define(['app'], function (app) {
"use strict";
define(['app'], function () {
NzbDrone.Missing.MissingModel = Backbone.Model.extend({
mutators: {
bestDateString : function () {
@ -1,3 +1,6 @@
"use strict";
//TODO: global function, not good!
function bestDateString(sourceDate) {
if (!sourceDate) {
return '';