mirror of
https://github.com/swc-project/swc.git
synced 2024-12-22 13:11:31 +03:00
68e9017376
swc_ecma_transforms_optimization: - `expr_simplifier`: Track more changes. swc_ecma_minifier: - Analyze after applying the pure optimizer. - Preserve access to a variable not in scope. - `compress`: Remove string literal if it was not a directive. - `pure/collapse_vars`: Merge vars declared in the first statement into one with initializers if `collapse_vars` and `join_vars` are enabled. - `unused`: Use `usage_count` instead of `ref_count`. - `unused`: Fix dropping rule for member expressions. - `unused`: Fix dropping rule for declarations. - `hoist_props`: Preserve exported items.
3 lines
255 B
JavaScript
3 lines
255 B
JavaScript
(function () {
|
|
var G = Object.prototype.hasOwnProperty, baselinePx = 4, faderWidth = 12 * baselinePx, faderHeight = 60 * baselinePx, trackWidth = faderWidth / 3, trackHeight = faderHeight - faderWidth, trackMargin = (faderWidth - trackWidth) / 2;
|
|
})() |