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