forgeplus-react/node_modules/react-monaco-editor/lib/utils.js

13 lines
248 B
JavaScript
Raw Normal View History

2023-07-29 21:19:10 +08:00
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.processSize = processSize;
exports.noop = noop;
function processSize(size) {
return !/^\d+$/.test(size) ? size : "".concat(size, "px");
}
function noop() {}