minor code style

This commit is contained in:
Val Erastov 2016-12-01 01:36:51 -08:00
parent ae984c88d8
commit e0cfa8c3e6

View file

@ -24,8 +24,7 @@ export class SketchObject {
acceptV(onlyVisible, visitor) {
if (onlyVisible && !this.visible) return true;
for (var i = 0; i < this.children.length; i++) {
var child = this.children[i];
for (let child of this.children) {
if (!child.acceptV(onlyVisible, visitor)) {
return false;
}