src/aria/utils/Json.js
function (child, parent, oldProperty, newProperty) {
        var childParents = child ? child[parProp] : null;
        if (childParents) {
            for (var index = 0, parentDescription; parentDescription = childParents[index]; index++) {
                if (parentDescription.parent == parent && parentDescription.property == oldProperty) {
                    parentDescription.property = newProperty;
                    // there should be only one.
                    break;
                }
            }
        }
    }
function (child, parent, oldProperty, newProperty) {
        var childParents = child ? child[parProp] : null;
        if (childParents) {
            for (var index = 0, parentDescription; parentDescription = childParents[index]; index++) {
                if (parentDescription.parent == parent && parentDescription.property == oldProperty) {
                    parentDescription.property = newProperty;
                    // there should be only one.
                    break;
                }
            }
        }
    }
function ( child , parent , oldProperty , newProperty ) { var childParents = child ? child [ parProp ] : null ; if ( childParents ) { for ( var index = 0 , parentDescription ; parentDescription = childParents [ index ] ; index ++ ) { if ( parentDescription . parent == parent && parentDescription . property == oldProperty ) { parentDescription . property = newProperty ; // there should be only one. break ; } } } }
Update back-references when the property name under which a parent was referencing a child changed.
@param {Object} child child. This method does nothing if the child is null or does not have any back references)
@param {Object} parent
@param {String} oldProperty
@param {String} newProperty
@private
Update back - references when the property name under which a parent was referencing a child changed .