fix circleCI errors
This commit is contained in:
1 parent
8b13528661
commit
f0608441fc
2 files changed
+3
-3
No files matched your search
@@ -80,7 +80,7 @@ const CodeEditor = createClass({
|
||||
|
||||
// Note: codeMirror passes a copy of itself in this callback. cm === this.codeMirror. Either one works.
|
||||
this.codeMirror.on('change', (cm)=>{this.props.onChange(cm.getValue());});
|
||||
this.codeMirror.on('viewportChange', _.debounce((cm)=>{this.props.onChange(cm.getValue());},200));
|
||||
this.codeMirror.on('viewportChange', _.debounce((cm)=>{this.props.onChange(cm.getValue());}, 200));
|
||||
this.updateSize();
|
||||
},
|
||||
|
||||
|
||||
Reference in new issue
Block a user