todoOK is not defined
Misc cleanup
Avoid early return
JSLint style for function() vs function ()
Refactor to return earlier
Refactor to return earlier
Split logic
Split logic
Reorder
Remove unneccessary conditional argument
Drop todoOK, it's no longer needed
Drop todoOK, it's no longer needed
Drop todoOK, it's no longer needed
DRY - extract propagateToInferiors
Invert many of the checks that boil down to:
      } else {
        task.status = oldStatus;
        return false;
      }
If nothing has changed, return true earlier
Shift down further
Revert "If nothing has changed, return true earlier"

This reverts commit 90be11e210253326c17bb0d52783b59d16247dfd.
Remove one conditional
Style