mirror of
https://github.com/NoFxAiOS/nofx.git
synced 2026-07-11 14:56: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:
24
web/node_modules/dom-helpers/esm/collectSiblings.js
generated
vendored
Normal file
24
web/node_modules/dom-helpers/esm/collectSiblings.js
generated
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
import matches from './matches';
|
||||
export default function collectSiblings(node, refNode, selector) {
|
||||
if (refNode === void 0) {
|
||||
refNode = null;
|
||||
}
|
||||
|
||||
if (selector === void 0) {
|
||||
selector = null;
|
||||
}
|
||||
|
||||
var siblings = [];
|
||||
|
||||
for (; node; node = node.nextElementSibling) {
|
||||
if (node !== refNode) {
|
||||
if (selector && matches(node, selector)) {
|
||||
break;
|
||||
}
|
||||
|
||||
siblings.push(node);
|
||||
}
|
||||
}
|
||||
|
||||
return siblings;
|
||||
}
|
||||
Reference in New Issue
Block a user