mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Add RED.util to Function node sandbox
This commit is contained in:
parent
13c1d1df7a
commit
589d43f0e5
@ -73,6 +73,9 @@ module.exports = function(RED) {
|
|||||||
console:console,
|
console:console,
|
||||||
util:util,
|
util:util,
|
||||||
Buffer:Buffer,
|
Buffer:Buffer,
|
||||||
|
RED: {
|
||||||
|
util: RED.util
|
||||||
|
},
|
||||||
__node__: {
|
__node__: {
|
||||||
log: function() {
|
log: function() {
|
||||||
node.log.apply(node, arguments);
|
node.log.apply(node, arguments);
|
||||||
|
Loading…
Reference in New Issue
Block a user