+ var returnhtml;
+ if (retinf.items) {
+ returnhtml = '<pre>items: ' + JSON.stringify(retinf.items, null, 4) + '</pre>';
+ }
+
+ if (retinf.properties) {
+ returnhtml = returnhtml || '';
+ returnhtml += '<pre>properties:' + JSON.stringify(retinf.properties, null, 4);
+ }
+
+ sections.push({
+ title: 'Returns: ' + rtype,
+ bodyPadding: 10,
+ html: returnhtml
+ });