react-codemirror2
Advanced tools
Comparing version 3.0.2 to 3.0.3
@@ -0,4 +1,8 @@ | ||
3.0.3 | ||
================== | ||
* https://github.com/scniro/react-codemirror2/pull/27 | ||
3.0.2 | ||
================== | ||
https://github.com/scniro/react-codemirror2/issues/22 | ||
* https://github.com/scniro/react-codemirror2/issues/22 | ||
@@ -5,0 +9,0 @@ 3.0.1 |
@@ -48,5 +48,5 @@ 'use strict'; | ||
switch (name) { | ||
case 'blur': | ||
case 'onBlur': | ||
{ | ||
this.editor.on('onBlur', function (cm, event) { | ||
this.editor.on('blur', function (cm, event) { | ||
_this.props.onBlur(_this.editor, event); | ||
@@ -53,0 +53,0 @@ }); |
{ | ||
"name": "react-codemirror2", | ||
"version": "3.0.2", | ||
"version": "3.0.3", | ||
"description": "a tiny react codemirror component wrapper", | ||
@@ -63,3 +63,3 @@ "main": "index.js", | ||
"@types/jest": "21.1.4", | ||
"@types/react": "16.0.14", | ||
"@types/react": "16.0.15", | ||
"babel-core": "6.26.0", | ||
@@ -82,3 +82,3 @@ "babel-jest": "21.2.0", | ||
"open": "0.0.5", | ||
"prismjs": "1.8.1", | ||
"prismjs": "1.8.3", | ||
"prop-types": "15.6.0", | ||
@@ -85,0 +85,0 @@ "raf": "3.4.0", |
35469