1
0
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:
kayone
2013-11-20 22:04:15 -08:00
parent 6b418276b6
commit 3311357df0
12 changed files with 135 additions and 129 deletions
+2 -5
View File
@@ -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);