1
0
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:
Nick O'Leary 2016-06-13 22:16:36 +01:00
parent 13c1d1df7a
commit 589d43f0e5

View File

@ -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);