hsp/json.js
function (object, property, value) {
        if (object[OBSERVER_PROPERTY]) {
            var existed = ownProperty.call(object, property), oldVal = object[property];
            delete object[property];

            if (existed) {
                var chgset=[changeDesc(object, property, object[property], oldVal, "deleted")];
                callObservers(object, chgset);
            }
        } else {
            delete object[property];
        }
    }
function (object, property, value) {
        if (object[OBSERVER_PROPERTY]) {
            var existed = ownProperty.call(object, property), oldVal = object[property];
            delete object[property];

            if (existed) {
                var chgset=[changeDesc(object, property, object[property], oldVal, "deleted")];
                callObservers(object, chgset);
            }
        } else {
            delete object[property];
        }
    }
function ( object , property , value ) { if ( object [ OBSERVER_PROPERTY ] ) { var existed = ownProperty . call ( object , property ) , oldVal = object [ property ] ; delete object [ property ] ; if ( existed ) { var chgset = [ changeDesc ( object , property , object [ property ] , oldVal , "deleted" ) ] ; callObservers ( object , chgset ) ; } } else { delete object [ property ] ; } }
Delete a property in a JSON object and automatically notifies all observers of the change
Delete a property in a JSON object and automatically notifies all observers of the change