some js cleanup.
This commit is contained in:
parent
e29c07c4a5
commit
c7776f74e1
|
@ -115,6 +115,7 @@ module.exports = function(grunt) {
|
|||
grunt.loadNpmTasks('grunt-contrib-watch');
|
||||
grunt.loadNpmTasks('grunt-contrib-concat');
|
||||
grunt.loadNpmTasks('grunt-contrib-copy');
|
||||
grunt.loadNpmTasks('grunt-wrap');
|
||||
|
||||
// Default task(s).
|
||||
grunt.registerTask('default', ['copy','less:bootstrap','handlebars', 'watch']);
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
'use strict';
|
||||
|
||||
define([
|
||||
'app', 'AddSeries/RootFolders/RootFolderCollection', 'Quality/QualityProfileCollection', 'Shared/NotificationCollection', 'AddSeries/Existing/UnmappedFolderModel', 'AddSeries/SearchResultCollection', 'Series/SeriesModel'], function (app, rootFolders, qualityProfileCollection, notificationCollection) {
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
'use strict';
|
||||
|
||||
define(['app', 'Quality/QualityProfileCollection'], function (app, qualityProfiles) {
|
||||
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
define(['app', 'AddSeries/RootFolders/RootFolderCollection', 'AddSeries/New/SearchResultView', 'Shared/SpinnerView'], function () {
|
||||
"use strict";
|
||||
define(['app', 'AddSeries/RootFolders/RootFolderCollection', 'AddSeries/New/SearchResultView', 'Shared/SpinnerView'], function () {
|
||||
NzbDrone.AddSeries.New.AddNewSeriesView = Backbone.Marionette.Layout.extend({
|
||||
template: 'AddSeries/New/AddNewSeriesTemplate',
|
||||
route: 'Series/add/new',
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
'use strict';
|
||||
|
||||
define(['app', 'Shared/NotificationCollection', 'AddSeries/SearchResultCollection', 'AddSeries/SearchResultModel', 'Series/SeriesCollection'], function (app, notificationCollection) {
|
||||
|
||||
NzbDrone.AddSeries.New.SearchItemView = Backbone.Marionette.ItemView.extend({
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
define(['app', 'AddSeries/RootFolders/RootFolderModel'], function () {
|
||||
"use strict";
|
||||
define(['app', 'AddSeries/RootFolders/RootFolderModel'], function () {
|
||||
|
||||
var rootFolderCollection = Backbone.Collection.extend({
|
||||
url: NzbDrone.Constants.ApiRoot + '/rootfolder',
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
"use strict";
|
||||
define(['app'], function () {
|
||||
NzbDrone.AddSeries.RootFolders.RootFolderModel = Backbone.Model.extend({
|
||||
mutators: {
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
'use strict;'
|
||||
"use strict";
|
||||
|
||||
define(['app', 'AddSeries/RootFolders/RootFolderCollection', 'Mixins/AutoComplete'], function (app,rootFolders) {
|
||||
|
||||
|
||||
NzbDrone.AddSeries.RootFolderItemView = Backbone.Marionette.ItemView.extend({
|
||||
|
||||
template: 'AddSeries/RootFolders/RootFolderItemTemplate',
|
||||
|
|
|
@ -23,6 +23,7 @@
|
|||
"grunt-contrib-less": "*",
|
||||
"grunt-contrib-concat": "*",
|
||||
"grunt-contrib-copy": "*",
|
||||
"grunt-wrap": "*",
|
||||
"grunt-curl": "*"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue