Skip to content
Snippets Groups Projects
Commit abaf30f3 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

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

parent 67392662
Branches
Tags
No related merge requests found
......@@ -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");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment