draft-cljs
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -43,4 +43,4 @@ 'use strict'; | ||
}; | ||
_this.setEditorState = function (editorState) { | ||
return _this.state = editorState; | ||
_this.setEditorState = function (newState) { | ||
return _this.state.editorState = newState; | ||
}; | ||
@@ -47,0 +47,0 @@ return _this; |
{ | ||
"name": "draft-cljs", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Hack to use draft-js editor with ClojureScript simplier and without problems with state management", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
5506