|
|
@ -1,6 +1,6 @@
|
|
|
|
'use strict';
|
|
|
|
'use strict';
|
|
|
|
require.config({
|
|
|
|
require.config({
|
|
|
|
urlArgs: 'v=' + window.NzbDrone.Version,
|
|
|
|
|
|
|
|
paths: {
|
|
|
|
paths: {
|
|
|
|
'backbone' : 'JsLibraries/backbone',
|
|
|
|
'backbone' : 'JsLibraries/backbone',
|
|
|
|
'moment' : 'JsLibraries/moment',
|
|
|
|
'moment' : 'JsLibraries/moment',
|
|
|
@ -22,23 +22,39 @@ require.config({
|
|
|
|
'signalR' : 'JsLibraries/jquery.signalR',
|
|
|
|
'signalR' : 'JsLibraries/jquery.signalR',
|
|
|
|
'jquery.knob' : 'JsLibraries/jquery.knob',
|
|
|
|
'jquery.knob' : 'JsLibraries/jquery.knob',
|
|
|
|
'jquery.dotdotdot' : 'JsLibraries/jquery.dotdotdot',
|
|
|
|
'jquery.dotdotdot' : 'JsLibraries/jquery.dotdotdot',
|
|
|
|
'jquery' : 'jQuery/jquery.shim',
|
|
|
|
'messenger' : 'JsLibraries/messenger',
|
|
|
|
|
|
|
|
'jquery' : 'JsLibraries/jquery',
|
|
|
|
'libs' : 'JsLibraries/',
|
|
|
|
'libs' : 'JsLibraries/',
|
|
|
|
|
|
|
|
|
|
|
|
'api': 'Require/require.api'
|
|
|
|
'api': 'Require/require.api'
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
shim: {
|
|
|
|
shim: {
|
|
|
|
jquery :{
|
|
|
|
|
|
|
|
|
|
|
|
api: {
|
|
|
|
|
|
|
|
deps:
|
|
|
|
|
|
|
|
[
|
|
|
|
|
|
|
|
'jquery'
|
|
|
|
|
|
|
|
]
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
jquery : {
|
|
|
|
exports: '$'
|
|
|
|
exports: '$'
|
|
|
|
},
|
|
|
|
},
|
|
|
|
signalR: {
|
|
|
|
messenger : {
|
|
|
|
|
|
|
|
deps :
|
|
|
|
|
|
|
|
[
|
|
|
|
|
|
|
|
'jquery'
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
exports: 'Messenger'
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
signalR : {
|
|
|
|
deps:
|
|
|
|
deps:
|
|
|
|
[
|
|
|
|
[
|
|
|
|
'jquery'
|
|
|
|
'jquery'
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
},
|
|
|
|
bootstrap: {
|
|
|
|
bootstrap : {
|
|
|
|
deps:
|
|
|
|
deps:
|
|
|
|
[
|
|
|
|
[
|
|
|
|
'jquery'
|
|
|
|
'jquery'
|
|
|
@ -49,23 +65,24 @@ require.config({
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
backstrech: {
|
|
|
|
backstrech : {
|
|
|
|
deps:
|
|
|
|
deps:
|
|
|
|
[
|
|
|
|
[
|
|
|
|
'jquery'
|
|
|
|
'jquery'
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
},
|
|
|
|
underscore: {
|
|
|
|
underscore : {
|
|
|
|
deps :
|
|
|
|
deps :
|
|
|
|
[
|
|
|
|
[
|
|
|
|
'jquery'
|
|
|
|
'jquery'
|
|
|
|
],
|
|
|
|
],
|
|
|
|
exports: '_'
|
|
|
|
exports: '_'
|
|
|
|
},
|
|
|
|
},
|
|
|
|
backbone: {
|
|
|
|
backbone : {
|
|
|
|
deps:
|
|
|
|
deps:
|
|
|
|
[
|
|
|
|
[
|
|
|
|
'jquery',
|
|
|
|
'jquery',
|
|
|
|
|
|
|
|
'Instrumentation/ErrorHandler',
|
|
|
|
'underscore',
|
|
|
|
'underscore',
|
|
|
|
'Mixins/jquery.ajax',
|
|
|
|
'Mixins/jquery.ajax',
|
|
|
|
'jQuery/ToTheTop'
|
|
|
|
'jQuery/ToTheTop'
|
|
|
@ -73,7 +90,7 @@ require.config({
|
|
|
|
|
|
|
|
|
|
|
|
exports: 'Backbone'
|
|
|
|
exports: 'Backbone'
|
|
|
|
},
|
|
|
|
},
|
|
|
|
marionette: {
|
|
|
|
marionette : {
|
|
|
|
deps:
|
|
|
|
deps:
|
|
|
|
[
|
|
|
|
[
|
|
|
|
'backbone',
|
|
|
|
'backbone',
|
|
|
@ -88,40 +105,40 @@ require.config({
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
'jquery.knob': {
|
|
|
|
'jquery.knob' : {
|
|
|
|
deps:
|
|
|
|
deps:
|
|
|
|
[
|
|
|
|
[
|
|
|
|
'jquery'
|
|
|
|
'jquery'
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
},
|
|
|
|
'jquery.dotdotdot': {
|
|
|
|
'jquery.dotdotdot' : {
|
|
|
|
deps:
|
|
|
|
deps:
|
|
|
|
[
|
|
|
|
[
|
|
|
|
'jquery'
|
|
|
|
'jquery'
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
},
|
|
|
|
'backbone.pageable': {
|
|
|
|
'backbone.pageable' : {
|
|
|
|
deps:
|
|
|
|
deps:
|
|
|
|
[
|
|
|
|
[
|
|
|
|
'backbone'
|
|
|
|
'backbone'
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
},
|
|
|
|
'backbone.deepmodel': {
|
|
|
|
'backbone.deepmodel' : {
|
|
|
|
deps:
|
|
|
|
deps:
|
|
|
|
[
|
|
|
|
[
|
|
|
|
'backbone',
|
|
|
|
'backbone',
|
|
|
|
'underscore'
|
|
|
|
'underscore'
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
},
|
|
|
|
'backbone.validation': {
|
|
|
|
'backbone.validation' : {
|
|
|
|
deps :
|
|
|
|
deps :
|
|
|
|
[
|
|
|
|
[
|
|
|
|
'backbone'
|
|
|
|
'backbone'
|
|
|
|
],
|
|
|
|
],
|
|
|
|
exports: 'Backbone.Validation'
|
|
|
|
exports: 'Backbone.Validation'
|
|
|
|
},
|
|
|
|
},
|
|
|
|
'backbone.modelbinder':{
|
|
|
|
'backbone.modelbinder': {
|
|
|
|
deps :
|
|
|
|
deps:
|
|
|
|
[
|
|
|
|
[
|
|
|
|
'backbone'
|
|
|
|
'backbone'
|
|
|
|
]
|
|
|
|
]
|
|
|
@ -154,7 +171,7 @@ require.config({
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
'backgrid.paginator': {
|
|
|
|
'backgrid.paginator' : {
|
|
|
|
|
|
|
|
|
|
|
|
exports: 'Backgrid.Extension.Paginator',
|
|
|
|
exports: 'Backgrid.Extension.Paginator',
|
|
|
|
|
|
|
|
|
|
|
@ -163,7 +180,7 @@ require.config({
|
|
|
|
'backgrid'
|
|
|
|
'backgrid'
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
},
|
|
|
|
'backgrid.selectall': {
|
|
|
|
'backgrid.selectall' : {
|
|
|
|
|
|
|
|
|
|
|
|
exports: 'Backgrid.Extension.SelectAll',
|
|
|
|
exports: 'Backgrid.Extension.SelectAll',
|
|
|
|
|
|
|
|
|
|
|
@ -175,6 +192,11 @@ require.config({
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
require.config({
|
|
|
|
|
|
|
|
urlArgs: 'v=' + window.NzbDrone.Version
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
define(
|
|
|
|
define(
|
|
|
|
[
|
|
|
|
[
|
|
|
|
'jquery',
|
|
|
|
'jquery',
|
|
|
@ -224,5 +246,5 @@ define(
|
|
|
|
$('#footer-region .version').html(footerText);
|
|
|
|
$('#footer-region .version').html(footerText);
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
app.start();
|
|
|
|
return app;
|
|
|
|
});
|
|
|
|
});
|