Removing need for separate setContainer calls

This commit is contained in:
Jeff Avallone
2014-12-10 19:31:07 -05:00
parent 9ac25b9a50
commit dbcdd583ed
9 changed files with 17 additions and 26 deletions
+1 -2
View File
@@ -91,8 +91,7 @@ export default class Regexper {
return Q.fcall(parser.parse.bind(parser), expression)
.then((result) => {
result.setContainer(snap.group());
result.render();
result.render(snap.group());
return result;
}, this.showError.bind(this))
.then((result) => {