clarify comment

This commit is contained in:
echenley 2016-02-10 10:52:12 -06:00
parent a88fdba1fa
commit d231e4cffe

View File

@ -172,7 +172,7 @@ function liftReducerWith(reducer, initialCommittedState, monitorReducer, options
for (let i = 0; i < idsToDelete.length; i++) { for (let i = 0; i < idsToDelete.length; i++) {
if (computedStates[i + 1].error) { if (computedStates[i + 1].error) {
// Stop if error is found. Commit only up to error. // Stop if error is found. Commit actions up to error.
excess = i; excess = i;
idsToDelete = stagedActionIds.slice(1, excess + 1); idsToDelete = stagedActionIds.slice(1, excess + 1);
break; break;