mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-20 21:55:03 -04:00
rjs optimize the app.
This commit is contained in:
@@ -1,7 +1,4 @@
|
||||
define(
|
||||
[
|
||||
'jquery'
|
||||
], function ($) {
|
||||
define([], function () {
|
||||
'use strict';
|
||||
return {
|
||||
load: function (name, parentRequire, onload, config) {
|
||||
@@ -13,7 +10,7 @@ define(
|
||||
var resource = name.split('!')[0];
|
||||
var url = window.NzbDrone.ApiRoot + '/' + resource;
|
||||
|
||||
$.ajax({
|
||||
window.$.ajax({
|
||||
url: url
|
||||
}).done(function (data) {
|
||||
onload(data);
|
||||
|
||||
Reference in New Issue
Block a user