mirror of
https://github.com/swc-project/swc.git
synced 2024-12-20 20:22:26 +03:00
d4df2cece8
swc_ecma_parser: - Do not emit strict mode error while backtracking. (#1252) swc_ecma_transforms_proposal: - Handle decorator on methods with computed key.
6 lines
401 B
JavaScript
6 lines
401 B
JavaScript
var a = {
|
|
method: function() {
|
|
var string = "\n width: ".concat(Math.abs(this.currentX - this.startX - left), "px;\n height: ").concat(Math.abs(this.currentY - this.realtimeStartY - top), "px;\n top: ").concat(Math.min(this.currentY - top, this.realtimeStartY) + this.scrollTop, "px;\n left: ").concat(Math.min(this.currentX - left, this.startX) + this.scrollLeft, "px\n ");
|
|
}
|
|
};
|