1
0
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:
Nick O'Leary 2014-08-29 09:34:13 +01:00
parent e256110eac
commit 44ec551ed9

View File

@ -112,8 +112,10 @@ module.exports = {
// can be accessed in a function block as: // can be accessed in a function block as:
// context.global.os // context.global.os
functionGlobalContext: { } functionGlobalContext: {
//functionGlobalContext: { bonescript:require('bonescript') } // os:require('os'),
//functionGlobalContext: { arduino:require('duino') } // bonescript:require('bonescript'),
// arduino:require('duino')
}
} }