优化bugfix
This commit is contained in:
parent
7242655241
commit
c7574d5619
|
@ -2269,13 +2269,13 @@ export class Get extends Uninstantable {
|
||||||
* @returns {Iterable<HTMLElement>} 迭代器
|
* @returns {Iterable<HTMLElement>} 迭代器
|
||||||
*/
|
*/
|
||||||
static *iterableChildNodes(node){
|
static *iterableChildNodes(node){
|
||||||
if(node._childNodesWatcher){
|
for(let i=0;i<arguments.length;i++){
|
||||||
for(let child of node._childNodesWatcher.childNodes){
|
let arg = arguments[i];
|
||||||
yield child;
|
if(arg._childNodesWatcher){
|
||||||
}
|
for(let child of arg._childNodesWatcher.childNodes){
|
||||||
}else{
|
yield child;
|
||||||
for(let i=0;i<arguments.length;i++){
|
}
|
||||||
let arg = arguments[i];
|
}else{
|
||||||
for(let j=0;j<arg.childElementCount;j++){
|
for(let j=0;j<arg.childElementCount;j++){
|
||||||
yield arg.childNodes[j];
|
yield arg.childNodes[j];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue