Use ES6 syntax

This commit is contained in:
Toby Zerner 2015-09-22 17:23:47 +09:30
parent ab6e3351b4
commit c7ed189cf3

View File

@ -52,7 +52,7 @@ export default class TextEditor extends Component {
configTextarea(element, isInitialized) {
if (isInitialized) return;
var handler = () => {
const handler = () => {
this.onsubmit();
m.redraw();
};