This commit is contained in:
Akko
2025-08-04 18:57:35 +02:00
parent 8cf6e78a79
commit 9495868c2e
5030 changed files with 518594 additions and 17609 deletions

18
node_modules/pixi.js/lib/utils/logging/warn.js generated vendored Normal file
View File

@@ -0,0 +1,18 @@
'use strict';
"use strict";
let warnCount = 0;
const maxWarnings = 500;
function warn(...args) {
if (warnCount === maxWarnings)
return;
warnCount++;
if (warnCount === maxWarnings) {
console.warn("PixiJS Warning: too many warnings, no more warnings will be reported to the console by PixiJS.");
} else {
console.warn("PixiJS Warning: ", ...args);
}
}
exports.warn = warn;
//# sourceMappingURL=warn.js.map