-
Notifications
You must be signed in to change notification settings - Fork 71
Open
Description
I don't find it elegant when TIME_FORMATS are written:
var TIME_FORMATS = [{
name: 'second',
value: 1e3
}, {
name: 'minute',
value: 6e4
}
}];
Instead of:
var TIME_FORMATS = {
second : 1e3,
minute: 6e4
};
Especially when the line after that is where LABELS_FOR_POWERS_OF_KILO is configured like how things should be configured. it's an odd choice when both dictionaries should serve the same purpose.
Metadata
Metadata
Assignees
Labels
No labels