Adding specs for Subexp nodes

This commit is contained in:
Jeff Avallone
2014-12-21 12:05:55 -05:00
parent 9e6702d475
commit 9bf5328da7
2 changed files with 107 additions and 3 deletions
+5 -3
View File
@@ -26,9 +26,11 @@ export default {
_render() {
return this.regexp.render(this.container.group())
.then(this.renderLabeledBox.bind(this, this.label, this.regexp, {
padding: 10
}));
.then(() => {
return this.renderLabeledBox(this.label, this.regexp, {
padding: 10
});
});
},
setup() {