regexper-static/src/js/parser/javascript/literal.js

16 lines
291 B
JavaScript
Raw Normal View History

import _ from 'lodash';
import Base from './base.js';
export default _.extend({}, Base, {
type: 'literal',
_render() {
2014-12-09 23:08:40 +00:00
this.label = this.renderLabel(this.container, '"' + this.literal.textValue + '"');
this.label.select('rect').attr({
rx: 3,
ry: 3
});
}
});