mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Tweak example settings for functionGlobalContext
Make it more obvious there should be a single hash, not multiple
This commit is contained in:
parent
e256110eac
commit
44ec551ed9
@ -112,8 +112,10 @@ module.exports = {
|
||||
// can be accessed in a function block as:
|
||||
// context.global.os
|
||||
|
||||
functionGlobalContext: { }
|
||||
//functionGlobalContext: { bonescript:require('bonescript') }
|
||||
//functionGlobalContext: { arduino:require('duino') }
|
||||
functionGlobalContext: {
|
||||
// os:require('os'),
|
||||
// bonescript:require('bonescript'),
|
||||
// arduino:require('duino')
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user