1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 17:56:25 +00:00

Remove unnecessary bind

This commit is contained in:
asmsuechan
2017-08-22 13:48:50 +09:00
parent 59fcc58e9c
commit b99c1e3b32

View File

@@ -40,7 +40,7 @@ export default class CodeEditor extends React.Component {
}
this.props.onBlur != null && this.props.onBlur(e)
}
this.pasteHandler = (editor, e) => this.handlePaste(editor, e).bind(this)
this.pasteHandler = (editor, e) => this.handlePaste(editor, e)
this.loadStyleHandler = (e) => {
this.editor.refresh()
}