devexpress-reporting
Version:
DevExpress Reporting provides the capability to develop a reporting application to create and customize reports.
25 lines (24 loc) • 698 B
JavaScript
/**
* DevExpress HTML/JS Reporting (common\utils\_locker.js)
* Version: 20.2.13
* Build date: Apr 10, 2023
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
* License: https://www.devexpress.com/Support/EULAs/universal.xml
*/
;
Object.defineProperty(exports, "__esModule", { value: true });
var Locker = (function () {
function Locker() {
var _this = this;
this.lock = function (action) {
if (!_this.isUpdate) {
_this.isUpdate = true;
action();
_this.isUpdate = false;
}
};
this.isUpdate = false;
}
return Locker;
}());
exports.Locker = Locker;