feat: complete Ancestor quote bot with production-ready Docker support
This commit is contained in:
9
node_modules/matrix-js-sdk/lib/webrtc/stats/valueFormatter.js
generated
vendored
9
node_modules/matrix-js-sdk/lib/webrtc/stats/valueFormatter.js
generated
vendored
@@ -1,3 +1,9 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.ValueFormatter = void 0;
|
||||
/*
|
||||
Copyright 2023 The Matrix.org Foundation C.I.C.
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
@@ -10,7 +16,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
export class ValueFormatter {
|
||||
class ValueFormatter {
|
||||
static getNonNegativeValue(imput) {
|
||||
let value = imput;
|
||||
if (typeof value !== "number") {
|
||||
@@ -22,4 +28,5 @@ export class ValueFormatter {
|
||||
return Math.max(0, value);
|
||||
}
|
||||
}
|
||||
exports.ValueFormatter = ValueFormatter;
|
||||
//# sourceMappingURL=valueFormatter.js.map
|
||||
Reference in New Issue
Block a user