mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
fixed more require issues
This commit is contained in:
32
UI/app.js
32
UI/app.js
@@ -39,38 +39,33 @@ require.config({
|
||||
},
|
||||
|
||||
'underscore': {
|
||||
dep : ['$'],
|
||||
exports: '_',
|
||||
init : function () {
|
||||
require(['mixins/underscore.mixin.deepExtend']);
|
||||
}
|
||||
deps : ['$'],
|
||||
exports: '_'
|
||||
},
|
||||
|
||||
backbone: {
|
||||
deps : ['underscore', '$'],
|
||||
exports: 'Backbone',
|
||||
init : function () {
|
||||
require(['libs/backbone.mutators']);
|
||||
}
|
||||
exports: 'Backbone'
|
||||
},
|
||||
|
||||
'backbone.deepmodel': {
|
||||
deps: ['mixins/underscore.mixin.deepExtend']
|
||||
},
|
||||
|
||||
marionette: {
|
||||
deps : ['backbone'],
|
||||
deps : ['backbone', 'mixins/backbone.marionette.templates'],
|
||||
exports: 'Marionette',
|
||||
init : function () {
|
||||
require(['mixins/backbone.marionette.templates']);
|
||||
init : function (Backbone, TemplateMixin) {
|
||||
TemplateMixin.call(Marionette.TemplateCache);
|
||||
}
|
||||
},
|
||||
|
||||
signalR: {
|
||||
dep: ['$']
|
||||
deps: ['$']
|
||||
},
|
||||
|
||||
'backbone.pageable': {
|
||||
dep : ['backbone'],
|
||||
init: function () {
|
||||
console.log(this);
|
||||
}
|
||||
deps: ['backbone']
|
||||
},
|
||||
|
||||
backgrid : {
|
||||
@@ -101,6 +96,9 @@ define([
|
||||
'Instrumentation/ErrorHandler'
|
||||
], function (Marionette, ModalRegion) {
|
||||
|
||||
require(['libs/backbone.mutators']);
|
||||
|
||||
|
||||
window.NzbDrone = new Marionette.Application();
|
||||
window.NzbDrone.Config = {};
|
||||
window.NzbDrone.Form = {};
|
||||
|
Reference in New Issue
Block a user