2014-12-03 02:02:48 +00:00
|
|
|
import _ from 'lodash';
|
|
|
|
import Base from './base.js';
|
|
|
|
|
|
|
|
export default _.extend({}, Base, {
|
2014-12-07 20:26:45 +00:00
|
|
|
type: 'literal',
|
|
|
|
|
2014-12-11 00:01:57 +00:00
|
|
|
_render() {
|
2014-12-11 00:12:17 +00:00
|
|
|
this.label = this.renderLabel('"' + this.literal.textValue + '"');
|
2014-12-07 20:26:45 +00:00
|
|
|
|
|
|
|
this.label.select('rect').attr({
|
|
|
|
rx: 3,
|
|
|
|
ry: 3
|
|
|
|
});
|
|
|
|
}
|
2014-12-03 02:02:48 +00:00
|
|
|
});
|