mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	Fix jshint test
This commit is contained in:
		| @@ -48,8 +48,10 @@ RED.editor = (function() { | ||||
|     function validateNodeProperties(node, definition, properties) { | ||||
|         var isValid = true; | ||||
|         for (var prop in definition) { | ||||
|             if (!validateNodeProperty(node, definition, prop, properties[prop])) { | ||||
|                 isValid = false; | ||||
|             if (definition.hasOwnProperty(prop)) { | ||||
|                 if (!validateNodeProperty(node, definition, prop, properties[prop])) { | ||||
|                     isValid = false; | ||||
|                 } | ||||
|             } | ||||
|         } | ||||
|         return isValid; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user