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

17 lines
311 B
JavaScript
Raw Normal View History

import _ from 'lodash';
import Base from './base.js';
export default _.extend({}, Base, {
type: 'literal',
_render() {
2014-12-13 18:42:55 +00:00
return this.renderLabel('"' + this.literal.textValue + '"')
.then(label => {
label.select('rect').attr({
rx: 3,
ry: 3
});
2014-12-11 00:23:14 +00:00
});
}
});