From 44ec551ed91a6277354c04367f70304d44773de4 Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Fri, 29 Aug 2014 09:34:13 +0100 Subject: [PATCH] Tweak example settings for functionGlobalContext Make it more obvious there should be a single hash, not multiple --- settings.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/settings.js b/settings.js index 0678a26c5..9c7ecd958 100644 --- a/settings.js +++ b/settings.js @@ -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') + } }