Commit e94ae692 authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

Document properties even when then have a value of 'null'

parent 6fa514f8
......@@ -194,13 +194,12 @@ function document_properties(name, obj, type)
prop_name=name + "." + prop;
if(typeof(obj[prop])=="object"
if(typeof(obj[prop])=="object"
&& obj[prop] !== null
&& prop!="socket"
&& prop!="global"
&& prop!="scope"
) {
if(obj[prop]===null)
continue;
if(obj[prop].length!=undefined) {
if(typeof(obj[prop][0])=="object") { // array ?
document_object(prop_name /*+ "[]"*/,obj[prop][0], "array");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment