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

18 lines
331 B
JavaScript
Raw Normal View History

import _ from 'lodash';
import Base from './base.js';
export default _.extend({}, Base, {
type: 'literal',
render() {
this.container.addClass('literal');
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
});
}
});