mirror of
https://github.com/NoFxAiOS/nofx.git
synced 2026-07-01 18:11:20 +08:00
- Multi-AI competition mode (Qwen vs DeepSeek) - Binance Futures integration - AI self-learning mechanism - Professional web dashboard - Complete risk management system
19 lines
386 B
JavaScript
19 lines
386 B
JavaScript
"use strict";
|
|
|
|
exports.__esModule = true;
|
|
exports.default = collectElements;
|
|
|
|
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;
|
|
}
|
|
|
|
module.exports = exports["default"]; |