maqetta/maqetta — comment on commit 16dd7b2179637c5d186d032bd73a1df8be35826d
File: maqetta.core.client/WebContent/davinci/ve/commands/ChangeThemeCommand.js line 92
By JonFerraiolo:

pardon my javascript ignorance here, but in most languages it is a logic error to loop from 0 to N-1 and delete the i'th element within the loop because the indexing logic no longer works. Maybe with JS this is OK because [i] is really an associative array reference?