diff --git a/.eslintrc.js b/.eslintrc.js index 10309cef189855ac5cc6c46feabf83e56731e2f6..5a1d3666b301dfe41dd4b5426fe7a53190b0cd92 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -34,6 +34,6 @@ module.exports = { 'linebreak-style': 0, }, settings: { - polyfills: ['fetch', 'promises', 'url'], + polyfills: ['fetch', 'Promise', 'url', 'object-assign'], }, }; diff --git a/config/router.config.js b/config/router.config.js index 2bc602e835c1c93411847769d1ed1eb316a298be..e954ced977efea00da8597f484376e345b32caf9 100644 --- a/config/router.config.js +++ b/config/router.config.js @@ -265,28 +265,28 @@ export default [ }, ], }, - // editor + ], + }, + // editor + { + name: 'editor', + icon: 'highlight', + path: '/editor', + routes: [ { - name: 'editor', - icon: 'highlight', - path: '/editor', - routes: [ - { - path: '/editor/flow', - name: 'flow', - component: './Editor/GGEditor/Flow', - }, - { - path: '/editor/mind', - name: 'mind', - component: './Editor/GGEditor/Mind', - }, - { - path: '/editor/koni', - name: 'koni', - component: './Editor/GGEditor/Koni', - }, - ], + path: '/editor/flow', + name: 'flow', + component: './Editor/GGEditor/Flow', + }, + { + path: '/editor/mind', + name: 'mind', + component: './Editor/GGEditor/Mind', + }, + { + path: '/editor/koni', + name: 'koni', + component: './Editor/GGEditor/Koni', }, ], },