CyberCraftInc / vacation_system

Cyber Craft Vacation System
0 stars 0 forks source link

Refactor handling list of statuses in BB #38

Closed eleidan closed 8 years ago

eleidan commented 8 years ago

Avoid using hardcoded statuses values, like following:

if (row.status === 'cancelled')

The following approach should be used:

if (row.status === App.Vacation.statuses.calcelled)
eleidan commented 8 years ago

As of 2016-02-03, there is no places that need refactoring in subject.