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
No related branches found
No related tags found
No related merge requests found
...@@ -194,13 +194,12 @@ function document_properties(name, obj, type) ...@@ -194,13 +194,12 @@ function document_properties(name, obj, type)
prop_name=name + "." + prop; prop_name=name + "." + prop;
if(typeof(obj[prop])=="object" if(typeof(obj[prop])=="object"
&& obj[prop] !== null
&& prop!="socket" && prop!="socket"
&& prop!="global" && prop!="global"
&& prop!="scope" && prop!="scope"
) { ) {
if(obj[prop]===null)
continue;
if(obj[prop].length!=undefined) { if(obj[prop].length!=undefined) {
if(typeof(obj[prop][0])=="object") { // array ? if(typeof(obj[prop][0])=="object") { // array ?
document_object(prop_name /*+ "[]"*/,obj[prop][0], "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