Skip to content

Commit

Permalink
moved comment to it own line, corrected typo
Browse files Browse the repository at this point in the history
  • Loading branch information
wthie committed Jul 22, 2014
1 parent 57baab8 commit e62cd13
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions nevow/js/Nevow/Athena/__init__.js
Original file line number Diff line number Diff line change
Expand Up @@ -1127,8 +1127,9 @@ Nevow.Athena.Widget.methods(
* tracking system.
*/
function _athenaDetachClient(self) {
var childWidgets = self.childWidgets.slice(); //copy self.childWidgets, fro safe iteration by removeChildWidget

//copy of self.childWidgets for safe iteration by removeChildWidget
var childWidgets = self.childWidgets.slice();

for (var i = 0; i < childWidgets.length; ++i) {
childWidgets[i]._athenaDetachClient();
}
Expand Down

0 comments on commit e62cd13

Please sign in to comment.