Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
shrekshrek committed Oct 12, 2015
1 parent 0de9ad7 commit 7b9cfbb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions css3d.js
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@
this.children = [];
},
destroy: function () {
for (var i in this.children) {
for (var i = this.children.length - 1; i >= 0; i--) {
this.children[i].destroy();
}
this.children = [];
Expand All @@ -317,7 +317,7 @@
if (view.parent)
view.parent.removeChild(view);

for (var i in this.children) {
for (var i = this.children.length - 1; i >= 0; i--) {
if (this.children[i] === view)
return this;
}
Expand Down
2 changes: 1 addition & 1 deletion css3d.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7b9cfbb

Please sign in to comment.