From c55c56f32256efe7ec87a91088bf18396f44d4ba Mon Sep 17 00:00:00 2001 From: "kay.one" Date: Sat, 30 Mar 2013 12:33:41 -0700 Subject: [PATCH] fixed some jshint issues. --- UI/Missing/MissingCollectionView.js | 3 +-- UI/Missing/MissingItemView.js | 4 ++-- UI/Missing/MissingModel.js | 3 ++- UI/Mixins/spoon.js | 3 +++ 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/UI/Missing/MissingCollectionView.js b/UI/Missing/MissingCollectionView.js index a2d74c1f7..4140fe78b 100644 --- a/UI/Missing/MissingCollectionView.js +++ b/UI/Missing/MissingCollectionView.js @@ -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', diff --git a/UI/Missing/MissingItemView.js b/UI/Missing/MissingItemView.js index 076b9a388..0825d384e 100644 --- a/UI/Missing/MissingItemView.js +++ b/UI/Missing/MissingItemView.js @@ -12,5 +12,5 @@ define([ onRender: function () { NzbDrone.ModelBinder.bind(this.model, this.el); } - }) -}) \ No newline at end of file + }); +}); \ No newline at end of file diff --git a/UI/Missing/MissingModel.js b/UI/Missing/MissingModel.js index dca345cf1..da6c4466b 100644 --- a/UI/Missing/MissingModel.js +++ b/UI/Missing/MissingModel.js @@ -1,4 +1,5 @@ -define(['app'], function (app) { +"use strict"; +define(['app'], function () { NzbDrone.Missing.MissingModel = Backbone.Model.extend({ mutators: { bestDateString : function () { diff --git a/UI/Mixins/spoon.js b/UI/Mixins/spoon.js index ebdeca015..137fefcc2 100644 --- a/UI/Mixins/spoon.js +++ b/UI/Mixins/spoon.js @@ -1,3 +1,6 @@ +"use strict"; + +//TODO: global function, not good! function bestDateString(sourceDate) { if (!sourceDate) { return '';