make-containers-better #10
@ -278,7 +278,7 @@ func (propagator *Propagator) forChildren (callback func (child elements.Element
|
|||||||
for index := 0; index < propagator.parent.CountChildren(); index ++ {
|
for index := 0; index < propagator.parent.CountChildren(); index ++ {
|
||||||
child := propagator.parent.Child(index)
|
child := propagator.parent.Child(index)
|
||||||
if child == nil { continue }
|
if child == nil { continue }
|
||||||
if callback(child) { break }
|
if !callback(child) { break }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user