MCPcopy Index your code
hub / github.com/stemkoski/stemkoski.github.com / traverse_json_hierarchy

Function traverse_json_hierarchy

Three.js/js/Three66.js:13344–13358  ·  view source on GitHub ↗
( objJSON, callback )

Source from the content-addressed store, hash-verified

13342 };
13343
13344 function traverse_json_hierarchy( objJSON, callback ) {
13345
13346 callback( objJSON );
13347
13348 if ( objJSON.children !== undefined ) {
13349
13350 for ( var objChildID in objJSON.children ) {
13351
13352 traverse_json_hierarchy( objJSON.children[ objChildID ], callback );
13353
13354 }
13355
13356 }
13357
13358 };
13359
13360 // first go synchronous elements
13361

Callers 1

Three66.jsFile · 0.70

Calls 1

callbackFunction · 0.70

Tested by

no test coverage detected