mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	Allow node properties to be same as existing object functions
Fixes #880
This commit is contained in:
		| @@ -127,7 +127,7 @@ module.exports = { | ||||
|         config.forEach(function(n) { | ||||
|             if (n.type !== 'subflow' && n.type !== 'tab') { | ||||
|                 for (var prop in n) { | ||||
|                     if (n.hasOwnProperty(prop) && prop !== 'id' && prop !== 'wires' && prop !== 'type' && prop !== '_users' && flow.configs[n[prop]]) { | ||||
|                     if (n.hasOwnProperty(prop) && prop !== 'id' && prop !== 'wires' && prop !== 'type' && prop !== '_users' && flow.configs.hasOwnProperty(n[prop])) { | ||||
|                         // This property references a global config node | ||||
|                         flow.configs[n[prop]]._users.push(n.id) | ||||
|                     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user