From 035984a61cba1a3b29d1c4c677266cc58e6c02eb Mon Sep 17 00:00:00 2001 From: Jeff Avallone Date: Wed, 10 Dec 2014 17:00:04 -0500 Subject: [PATCH] Adding class to labels --- src/js/parser/javascript/base.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/js/parser/javascript/base.js b/src/js/parser/javascript/base.js index 5b25b8e..23fb0ed 100644 --- a/src/js/parser/javascript/base.js +++ b/src/js/parser/javascript/base.js @@ -11,7 +11,8 @@ export default { }, renderLabel(container, text) { - var group = container.group(); + var group = container.group() + .addClass('label'); group.rect();