1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

remove line break to prevent jshint error

This commit is contained in:
Hiroyasu Nishiyama 2022-06-28 20:35:39 +09:00
parent f7e6d7d143
commit 3578f1b254

View File

@ -44,9 +44,7 @@ RED.editor.envVarList = (function() {
}).attr("autocomplete","disable").appendTo(envRow);
var types = (opt.ui && opt.ui.opts && opt.ui.opts.types);
if (!types) {
types = isTemplateNode
? DEFAULT_ENV_TYPE_LIST
: DEFAULT_ENV_TYPE_LIST_INC_CRED;
types = isTemplateNode ? DEFAULT_ENV_TYPE_LIST : DEFAULT_ENV_TYPE_LIST_INC_CRED;
}
valueField.typedInput({default:'str',types:types});
valueField.typedInput('type', opt.type);