mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 03:25:12 +08:00
18 lines
776 B
JavaScript
18 lines
776 B
JavaScript
|
|
let _enable_super_gross_mode_that_will_cause_bad_things = false;
|
||
|
|
export const config = {
|
||
|
|
Promise: undefined,
|
||
|
|
set useDeprecatedSynchronousErrorHandling(value) {
|
||
|
|
if (value) {
|
||
|
|
const error = new Error();
|
||
|
|
console.warn('DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n' + error.stack);
|
||
|
|
}
|
||
|
|
else if (_enable_super_gross_mode_that_will_cause_bad_things) {
|
||
|
|
console.log('RxJS: Back to a better error behavior. Thank you. <3');
|
||
|
|
}
|
||
|
|
_enable_super_gross_mode_that_will_cause_bad_things = value;
|
||
|
|
},
|
||
|
|
get useDeprecatedSynchronousErrorHandling() {
|
||
|
|
return _enable_super_gross_mode_that_will_cause_bad_things;
|
||
|
|
},
|
||
|
|
};
|
||
|
|
//# sourceMappingURL=config.js.map
|