mirror of
https://github.com/NoFxAiOS/nofx.git
synced 2026-07-09 22:10:57 +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:
12
web/node_modules/dom-helpers/esm/collectElements.js
generated
vendored
Normal file
12
web/node_modules/dom-helpers/esm/collectElements.js
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
export default function collectElements(node, direction) {
|
||||
var nextNode = null;
|
||||
var nodes = [];
|
||||
nextNode = node ? node[direction] : null;
|
||||
|
||||
while (nextNode && nextNode.nodeType !== 9) {
|
||||
nodes.push(nextNode);
|
||||
nextNode = nextNode[direction] || null;
|
||||
}
|
||||
|
||||
return nodes;
|
||||
}
|
||||
Reference in New Issue
Block a user