Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,15 @@ functionGlobalContext

can be accessed in a function node as:

context.global.os
global.get('osModule')

<div class="doc-callout"><em>Note</em>: Prior to Node-RED v0.13, the documented
way to use global context was to access it as a sub-property of <code>context</code>:
<pre>context.global.foo = "bar";
var osModule = context.global.osModule;</pre>
This method is still supported, but deprecated in favour of the <code>global.get</code>/<code>global.set</code>
functions. This is in anticipation of being able to persist the context data in a future release.
</div>

debugMaxLength
: Debug Nodes - the maximum length, in characters, of any message sent to the
Expand Down