]> git.proxmox.com Git - proxmox-widget-toolkit.git/blobdiff - src/api-viewer/APIViewer.js
api viewer: rename gloabl schema variable and tell eslint about it
[proxmox-widget-toolkit.git] / src / api-viewer / APIViewer.js
index 7d990cb3d969b3487e0d9a53ce09dc8587e8ac6d..82e6a1ca6f2074a052bc95f277225115b8a3f4e2 100644 (file)
@@ -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',