Changes

Jump to navigation Jump to search
m
no edit summary
Line 175: Line 175:  
console.log("data is on an array level");
 
console.log("data is on an array level");
 
Object.keys( temp_obj ).forEach( function ( ect ) {
 
Object.keys( temp_obj ).forEach( function ( ect ) {
 +
 
// if we are on an array level in the data, lets iterate through the array
 
// if we are on an array level in the data, lets iterate through the array
 +
 
console.log("Within partition: " + ect );
 
console.log("Within partition: " + ect );
 
future_temp_obj.push( checkdive( temp_obj[ ect ], moving ) );
 
future_temp_obj.push( checkdive( temp_obj[ ect ], moving ) );
Line 183: Line 185:  
 
 
} else {
 
} else {
 +
 
// if we are not on an array level, proceed with the path
 
// if we are not on an array level, proceed with the path
 +
 
console.log("data is on an objective level");
 
console.log("data is on an objective level");
 
future_temp_obj = checkdive( temp_obj, moving );
 
future_temp_obj = checkdive( temp_obj, moving );
530

edits

Navigation menu