From: Thomas Lamprecht Date: Wed, 2 Jun 2021 12:46:32 +0000 (+0200) Subject: api viewer: rename gloabl schema variable and tell eslint about it X-Git-Url: https://git.proxmox.com/?p=proxmox-widget-toolkit.git;a=commitdiff_plain;h=8556628c93f799dbfb734f85a2908bd7c0e70328 api viewer: rename gloabl schema variable and tell eslint about it Signed-off-by: Thomas Lamprecht --- diff --git a/src/api-viewer/APIViewer.js b/src/api-viewer/APIViewer.js index 7d990cb..82e6a1c 100644 --- a/src/api-viewer/APIViewer.js +++ b/src/api-viewer/APIViewer.js @@ -1,3 +1,5 @@ +/*global apiSchema*/ + Ext.onReady(function() { Ext.define('pmx-param-schema', { extend: 'Ext.data.Model', @@ -23,7 +25,7 @@ Ext.onReady(function() { }), proxy: { type: 'memory', - data: pmxapi, + data: apiSchema, }, sorters: [{ property: 'leaf',