This commit is contained in:
DeSqBlocki
2026-08-15 08:34:09 +02:00
parent eda2b2964a
commit 9377403f61
879 changed files with 118808 additions and 2 deletions
+17
View File
@@ -0,0 +1,17 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = once;
function once(fn) {
function wrapper(...args) {
if (fn === null) return;
var callFn = fn;
fn = null;
callFn.apply(this, args);
}
Object.assign(wrapper, fn);
return wrapper;
}
module.exports = exports.default;