mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-14 17:13:49 -07:00
Added API key authentication
This commit is contained in:
parent
689f27bee6
commit
57fdbe6e08
11 changed files with 114 additions and 15 deletions
15
UI/app.js
15
UI/app.js
|
@ -33,12 +33,19 @@ require.config({
|
|||
$: {
|
||||
exports: '$',
|
||||
|
||||
init: function () {
|
||||
deps :
|
||||
[
|
||||
'Mixins/jquery.ajax'
|
||||
],
|
||||
|
||||
init: function (AjaxMixin) {
|
||||
require(
|
||||
[
|
||||
'jQuery/ToTheTop',
|
||||
'Instrumentation/ErrorHandler'
|
||||
]);
|
||||
|
||||
AjaxMixin.apply($);
|
||||
}
|
||||
|
||||
},
|
||||
|
@ -75,14 +82,10 @@ require.config({
|
|||
backbone: {
|
||||
deps :
|
||||
[
|
||||
'Mixins/backbone.ajax',
|
||||
'underscore',
|
||||
'$'
|
||||
],
|
||||
exports: 'Backbone',
|
||||
init : function (AjaxMixin) {
|
||||
AjaxMixin.apply(Backbone);
|
||||
}
|
||||
exports: 'Backbone'
|
||||
},
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue