Skip to content

Commit

Permalink
Merge pull request #148 from ryedin/render_by_reference
Browse files Browse the repository at this point in the history
render by reference to enable delayed dom injection
  • Loading branch information
securingsincity authored Oct 29, 2016
2 parents 83c7d37 + 6e78cec commit 84ddb15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ace.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export default class ReactAce extends Component {
markers,
} = this.props;

this.editor = ace.edit(name);
this.editor = ace.edit(this.refs.editor);

if (onBeforeLoad) {
onBeforeLoad(ace);
Expand Down

0 comments on commit 84ddb15

Please sign in to comment.