File manager - Edit - /home/c14075/dragmet-ural.ru/www/bitrix/modules/main/install/js/main/polyfill/domrect/dist/domrect.bundle.js
Back
(function (exports) { 'use strict'; if (!window.DOMRect || typeof DOMRect.prototype.toJSON !== 'function' || typeof DOMRect.fromRect !== 'function') { window.DOMRect = /*#__PURE__*/function () { function DOMRect(x, y, width, height) { babelHelpers.classCallCheck(this, DOMRect); this.x = x || 0; this.y = y || 0; this.width = width || 0; this.height = height || 0; } babelHelpers.createClass(DOMRect, [{ key: "toJSON", value: function toJSON() { return { top: this.top, left: this.left, right: this.right, bottom: this.bottom, width: this.width, height: this.height, x: this.x, y: this.y }; } }, { key: "top", get: function get() { return this.y; } }, { key: "left", get: function get() { return this.x; } }, { key: "right", get: function get() { return this.x + this.width; } }, { key: "bottom", get: function get() { return this.y + this.height; } }], [{ key: "fromRect", value: function fromRect(otherRect) { return new DOMRect(otherRect.x, otherRect.y, otherRect.width, otherRect.height); } }]); return DOMRect; }(); } }((this.window = this.window || {}))); //# sourceMappingURL=domrect.bundle.js.map
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.25 |
proxy
|
phpinfo
|
Settings