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:
parent
4943bde3d4
commit
b36e7e172e
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user