Skip to content

Commit

Permalink
Merge pull request #25 from Shriken/patch-1
Browse files Browse the repository at this point in the history
Remove useless assignment
  • Loading branch information
securingsincity committed Jun 26, 2015
2 parents d51dedb + baff326 commit d6dd067
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/ace.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ module.exports = React.createClass({
}
},
componentDidMount: function() {
var self = this;
this.editor = ace.edit(this.props.name);
this.editor.getSession().setMode('ace/mode/'+this.props.mode);
this.editor.setTheme('ace/theme/'+this.props.theme);
Expand Down

0 comments on commit d6dd067

Please sign in to comment.