Changes

Jump to navigation Jump to search
no edit summary
Line 25: Line 25:  
if ( typeof check( obj, INSTANCE_OF_PROPERTY ) != "undefined" ) // if the entity has any "instance of" claim
 
if ( typeof check( obj, INSTANCE_OF_PROPERTY ) != "undefined" ) // if the entity has any "instance of" claim
 
{
 
{
let instance_of_claims = dive( obj, INSTANCE_OF_PROPERTY );
+
let claims = dive( obj, INSTANCE_OF_PROPERTY ); // get the claims which use the "instance of" property
if (instance_of_claims.some(claimUsesDataControllerAsItsObject))
+
if (claims.some(claimUsesDataControllerAsItsObject))
 
{
 
{
 
  foundThatThisIsAnInstanceOfDataController = true;
 
  foundThatThisIsAnInstanceOfDataController = true;
editors
3,524

edits

Navigation menu