diff options
author | bobzel <zzzman@gmail.com> | 2025-06-13 09:00:49 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2025-06-13 09:00:49 -0400 |
commit | 2d6307f6eaa0803aefabae9e9232506611365b66 (patch) | |
tree | 7d77764b51a8dcfef4ed5554be6028fea815a4ae /src/client/util/clamp.js | |
parent | b91057d00512446339e48fb8488a97a1e5ef03d5 (diff) |
updated css and project to HTML5 standards. fixed border rounding for images.
Diffstat (limited to 'src/client/util/clamp.js')
-rw-r--r-- | src/client/util/clamp.js | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/client/util/clamp.js b/src/client/util/clamp.js index 9c7fd78a4..8d74b5636 100644 --- a/src/client/util/clamp.js +++ b/src/client/util/clamp.js @@ -1,15 +1,15 @@ -"use strict"; +'use strict'; -Object.defineProperty(exports, "__esModule", { - value: true +Object.defineProperty(exports, '__esModule', { + value: true, }); -exports.default = clamp; function clamp(min, val, max) { - if (val < min) { - return min; - } - if (val > max) { - return max; - } - return val; -}
\ No newline at end of file + if (val < min) { + return min; + } + if (val > max) { + return max; + } + return val; +} +exports.default = clamp; |