Line 28: |
Line 28: |
| | | |
| // Check whether the current page is in a relation of interest to an id of interest | | // Check whether the current page is in a relation of interest to an id of interest |
− | //current_entity = wbproc.checkentity( relational_id_list );
| + | var current_entity = wbproc.checkentity( relational_id_list ); |
| // This should return an object of relations and ids | | // This should return an object of relations and ids |
| | | |
− | // console.log(current_entity);
| + | console.log(current_entity); |
| | | |
| // for each match, render the corresponding ui elements | | // for each match, render the corresponding ui elements |
Line 89: |
Line 89: |
| | | |
| console.log("instructions are an array of arrays"); | | console.log("instructions are an array of arrays"); |
− | future_return_partition = proceed( future_instructional_return, read[ path ][ path2 ] ); | + | future_return_partition = data_function( future_instructional_return, read[ path ][ path2 ] ); |
| //||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| | | //||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| |
| //|||||||||||||||||||||||||||||||||||||||||||||||||||[ I N S T R U C T I O N S C O N T R O L |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| | | //|||||||||||||||||||||||||||||||||||||||||||||||||||[ I N S T R U C T I O N S C O N T R O L |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| |
Line 105: |
Line 105: |
| | | |
| // INCLUDE step block with read[path] | | // INCLUDE step block with read[path] |
− | future_instructional_return.push( proceed( temp_obj, read[ path ] ) ); | + | future_instructional_return.push( data_function( temp_obj, read[ path ] ) ); |
| | | |
| } | | } |
Line 119: |
Line 119: |
| // If so let's follow the array of instructions | | // If so let's follow the array of instructions |
| Object.keys( read ).forEach( function ( ect ) { | | Object.keys( read ).forEach( function ( ect ) { |
− | temp_obj = proceed( temp_obj, read[ ect ] ); | + | temp_obj = data_function( temp_obj, read[ ect ] ); |
| }); | | }); |
| } | | } |