fixed some jshint issues.

pull/4/head
kay.one 12 years ago
parent e981ef4752
commit c55c56f322

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

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

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

Loading…
Cancel
Save