zpt
Version:
Zenon Page Templates - JS (ZPT-JS)
19 lines (12 loc) • 464 B
JavaScript
/*
Class ObjectDelete
*/
import { AbstractObjectAction } from './abstractObjectAction.js';
export const ObjectDelete = function( object, dictionary ) {
AbstractObjectAction.call( this, object, dictionary );
};
ObjectDelete.prototype = Object.create( AbstractObjectAction.prototype );
ObjectDelete.prototype.updateDictionary = function( dictionary ){
var objectValue = this.getValue( dictionary );
delete objectValue[ this.property ];
};