make constants more explicitly accessible

This commit is contained in:
2016-04-25 14:21:28 -07:00
parent a4bfd5184d
commit a46d8621cc
2 changed files with 4 additions and 4 deletions

View File

@@ -1,8 +1,8 @@
const constants = {
export const jobStatuses = {
JOB_STATUS_PENDING: 'pending',
JOB_STATUS_PROCESSING: 'processing',
JOB_STATUS_COMPLETED: 'completed',
JOB_STATUS_FAILED: 'failed',
};
export default constants;
export default Object.assign({}, jobStatuses);