Skip to content

Commit 9756032

Browse files
committed
Removing interact prop, ref JedWatson#27
1 parent 4b89e86 commit 9756032

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

‎src/Codemirror.js‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ var CodeMirror = React.createClass({
2525
this.codeMirror.on('blur',this.focusChanged.bind(this,false));
2626
this._currentCodemirrorValue=this.props.defaultValue||this.props.value||'';
2727
this.codeMirror.setValue(this._currentCodemirrorValue);
28-
this.props.interact(this.codeMirror);
2928
},
3029
componentWillUnmount(){
3130
// todo: is there a lighter-weight way to remove the cm instance?

0 commit comments

Comments
(0)