From 6ef49152f3780a2c83e3588f67028c31047f9ba5 Mon Sep 17 00:00:00 2001 From: Hiroyasu Nishiyama Date: Sun, 15 Sep 2019 23:55:27 +0900 Subject: [PATCH] remove useless variable definition --- .../@node-red/editor-client/src/js/ui/subflow.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/subflow.js b/packages/node_modules/@node-red/editor-client/src/js/ui/subflow.js index 05ef03e81..b888f0112 100644 --- a/packages/node_modules/@node-red/editor-client/src/js/ui/subflow.js +++ b/packages/node_modules/@node-red/editor-client/src/js/ui/subflow.js @@ -1365,11 +1365,6 @@ RED.subflow = (function() { ui.type = "input"; ui.opts = {types:['str','num','bool','json','bin','env']} } else { - var typeOptions = { - 'input': {types:['str','num','bool','json','bin','env']}, - 'select': {opts:[]}, - 'spinner': {} - }; if (!ui.opts) { ui.opts = (ui.type === "select") ? {opts:[]} : {}; }