Removing references to "self"

This commit is contained in:
Jeff Avallone
2014-12-10 17:01:21 -05:00
parent 035984a61c
commit 6ab5b2993b
2 changed files with 6 additions and 10 deletions
+3 -5
View File
@@ -5,15 +5,13 @@ export default _.extend({}, Base, {
type: 'regexp',
render() {
var self = this;
this.matchContainer = this.container.group();
_.each(this.matches(), match => {
match.setContainer(self.matchContainer.group());
_.each(this.matches(), (match => {
match.setContainer(this.matchContainer.group());
match.render();
return match.container;
});
}).bind(this));
},
position() {