initial commit
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
shadow$provide.module$node_modules$pixi_DOT_js$lib$utils$logging$deprecation = function(global, require, module, exports) {
|
||||
const warnings = new Set();
|
||||
var JSCompiler_object_inline_quiet_512 = !1, JSCompiler_object_inline_noColor_513 = !1;
|
||||
global = (version, message, ignoreDepth = 3) => {
|
||||
if (!JSCompiler_object_inline_quiet_512 && !warnings.has(message)) {
|
||||
var stack = Error().stack;
|
||||
version = `${message}
|
||||
Deprecated since v${version}`;
|
||||
var useGroup = "function" === typeof console.groupCollapsed && !JSCompiler_object_inline_noColor_513;
|
||||
"undefined" === typeof stack ? console.warn("PixiJS Deprecation Warning: ", version) : (stack = stack.split("\n").splice(ignoreDepth).join("\n"), useGroup ? (console.groupCollapsed("%cPixiJS Deprecation Warning: %c%s", "color:#614108;background:#fffbe6", "font-weight:normal;color:#614108;background:#fffbe6", version), console.warn(stack), console.groupEnd()) : (console.warn("PixiJS Deprecation Warning: ", version), console.warn(stack)));
|
||||
warnings.add(message);
|
||||
}
|
||||
};
|
||||
Object.defineProperties(global, {quiet:{get:() => JSCompiler_object_inline_quiet_512, set:value => {
|
||||
JSCompiler_object_inline_quiet_512 = value;
|
||||
}, enumerable:!0, configurable:!1}, noColor:{get:() => JSCompiler_object_inline_noColor_513, set:value => {
|
||||
JSCompiler_object_inline_noColor_513 = value;
|
||||
}, enumerable:!0, configurable:!1}});
|
||||
exports.deprecation = global;
|
||||
exports.v8_0_0 = "8.0.0";
|
||||
exports.v8_3_4 = "8.3.4";
|
||||
};
|
||||
|
||||
//# sourceMappingURL=module$node_modules$pixi_DOT_js$lib$utils$logging$deprecation.js.map
|
||||
Reference in New Issue
Block a user