Quote keys of TEXT_ALIGN to avoid minifcation

This commit is contained in:
Kai Volland
2019-09-25 15:40:24 +02:00
parent 8611475477
commit 68c052c9d5

View File

@@ -15,17 +15,17 @@ import TextPlacement from '../../style/TextPlacement.js';
* @enum {number}
*/
export const TEXT_ALIGN = {
left: 0,
end: 0,
center: 0.5,
right: 1,
start: 1,
top: 0,
middle: 0.5,
hanging: 0.2,
alphabetic: 0.8,
ideographic: 0.8,
bottom: 1
'left': 0,
'end': 0,
'center': 0.5,
'right': 1,
'start': 1,
'top': 0,
'middle': 0.5,
'hanging': 0.2,
'alphabetic': 0.8,
'ideographic': 0.8,
'bottom': 1
};