fixed some jshint issues.

This commit is contained in:
kay.one 2013-03-30 12:33:41 -07:00
parent e981ef4752
commit c55c56f322
4 changed files with 8 additions and 5 deletions

View File

@ -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',

View File

@ -12,5 +12,5 @@ define([
onRender: function () {
NzbDrone.ModelBinder.bind(this.model, this.el);
}
})
})
});
});

View File

@ -1,4 +1,5 @@
define(['app'], function (app) {
"use strict";
define(['app'], function () {
NzbDrone.Missing.MissingModel = Backbone.Model.extend({
mutators: {
bestDateString : function () {

View File

@ -1,3 +1,6 @@
"use strict";
//TODO: global function, not good!
function bestDateString(sourceDate) {
if (!sourceDate) {
return '';