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

add settings to init

This commit is contained in:
fellinga 2020-12-27 14:44:32 +01:00
parent 4943bde3d4
commit b36e7e172e

View File

@ -142,7 +142,7 @@ function getCurrentLocale() {
return undefined;
}
function init() {
function init(settings) {
if (!initPromise) {
// Keep this as a 'when' promise as top-level red.js uses 'otherwise'
// and embedded users of NR may have copied that.