From 8556628c93f799dbfb734f85a2908bd7c0e70328 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Wed, 2 Jun 2021 14:46:32 +0200 Subject: [PATCH] api viewer: rename gloabl schema variable and tell eslint about it Signed-off-by: Thomas Lamprecht --- src/api-viewer/APIViewer.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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', -- 2.39.2