1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-05 02:22:31 +01:00

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'; 'use strict';
define(['app', 'Missing/MissingItemView'], function () {
define(['app', 'Missing/MissingItemView'], function (app) {
NzbDrone.Missing.MissingCollectionView = Backbone.Marionette.CompositeView.extend({ NzbDrone.Missing.MissingCollectionView = Backbone.Marionette.CompositeView.extend({
itemView : NzbDrone.Missing.MissingItemView, itemView : NzbDrone.Missing.MissingItemView,
itemViewContainer: 'tbody', itemViewContainer: 'tbody',

View File

@ -12,5 +12,5 @@ define([
onRender: function () { onRender: function () {
NzbDrone.ModelBinder.bind(this.model, this.el); 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({ NzbDrone.Missing.MissingModel = Backbone.Model.extend({
mutators: { mutators: {
bestDateString : function () { bestDateString : function () {

View File

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