Skip to content

Commit

Permalink
render by reference to enable delayed dom injection
Browse files Browse the repository at this point in the history
  • Loading branch information
ryedin committed Oct 18, 2016
1 parent c91c49e commit 6e78cec
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 6e78cec

Please sign in to comment.