include you getset lib in my html file:
and I change above code like this:
try{
getset(function(){
Object.defineProperty(this, “MaxOverlappingBlocksRowCount”, {
get: function () {
return _maxOverlappingBlocksRowCount;
},
set: function (newValue) {
_maxOverlappingBlocksRowCount = newValue;
this.OnPropertyChanged(“MaxOverlappingBlocksRowCount”, newValue);
},
enumerable: true,
configurable: true
});
});
}catch(e){
if (console){
console.log();
}
}
is it right?
]]>Z.
]]>