Changes

Jump to navigation Jump to search
m
no edit summary
Line 45: Line 45:  
var the = this.main;
 
var the = this.main;
 
 
 +
/* The following is the main exposed function of the current Wb Processing class
 +
usage cases
 +
 +
to check the last value in a location given by a preceding array of internal paths to find, with the possibility of array layers between elements of array of paths:
 +
wbproc.checkentity( [ wbEStruct['instanceOfRelations'], wbEStruct['IDPropLoc'], wbEStruct['IDName'], 96 ] );
 +
 +
*/
 +
 
this.checkentity = function ( paths ) {
 
this.checkentity = function ( paths ) {
 
if ( ( the !== undefined ) && ( paths !== undefined ) ){
 
if ( ( the !== undefined ) && ( paths !== undefined ) ){
Line 109: Line 117:  
console.log("seeking derailed");
 
console.log("seeking derailed");
 
success_o_meter = true;
 
success_o_meter = true;
future_instructional_return.push( undefined );
+
// future_instructional_return.push( undefined );
 
}
 
}
   Line 162: Line 170:  
}
 
}
 
}
 
}
 +
// If we haven't got a not found signal along the way, let's try returning the object
 +
 
if ( success_o_meter === true ) {
 
if ( success_o_meter === true ) {
 
return temp_obj;
 
return temp_obj;
530

edits

Navigation menu