removed NzbDrone. namespace, everything is done using require.

This commit is contained in:
Keivan Beigi 2013-06-24 16:41:59 -07:00
parent ef62af75df
commit b0bd3f34f1
121 changed files with 2570 additions and 2587 deletions

View file

@ -1,26 +1,26 @@
'use strict';
'use strict';
define([
'app',
'marionette',
'Mixins/AsModelBoundView'
], function (App, Marionette, AsModelBoundView) {
define(
[
'marionette',
'Mixins/AsModelBoundView'
], function (Marionette, AsModelBoundView) {
var view = Marionette.ItemView.extend({
template: 'Settings/Indexers/EditTemplate',
var view = Marionette.ItemView.extend({
template: 'Settings/Indexers/EditTemplate',
events: {
'click .x-save': 'save'
},
events: {
'click .x-save': 'save'
},
initialize: function (options) {
this.indexerCollection = options.indexerCollection;
},
initialize: function (options) {
this.indexerCollection = options.indexerCollection;
},
save: function () {
this.model.saveSettings();
}
save: function () {
this.model.saveSettings();
}
});
return AsModelBoundView.call(view);
});
return AsModelBoundView.call(view);
});