mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-13 16:43:58 -07:00
fixed more require issues
This commit is contained in:
parent
d1c279d3cd
commit
0ae1865dd8
6 changed files with 49 additions and 44 deletions
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 = {};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue