mirror of
https://github.com/NoFxAiOS/nofx.git
synced 2026-07-05 03:50:59 +08:00
Initial commit: NOFX AI Trading System
- Multi-AI competition mode (Qwen vs DeepSeek) - Binance Futures integration - AI self-learning mechanism - Professional web dashboard - Complete risk management system
This commit is contained in:
17
web/node_modules/tiny-invariant/dist/tiny-invariant.cjs.js
generated
vendored
Normal file
17
web/node_modules/tiny-invariant/dist/tiny-invariant.cjs.js
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
'use strict';
|
||||
|
||||
var isProduction = process.env.NODE_ENV === 'production';
|
||||
var prefix = 'Invariant failed';
|
||||
function invariant(condition, message) {
|
||||
if (condition) {
|
||||
return;
|
||||
}
|
||||
if (isProduction) {
|
||||
throw new Error(prefix);
|
||||
}
|
||||
var provided = typeof message === 'function' ? message() : message;
|
||||
var value = provided ? "".concat(prefix, ": ").concat(provided) : prefix;
|
||||
throw new Error(value);
|
||||
}
|
||||
|
||||
module.exports = invariant;
|
||||
Reference in New Issue
Block a user