mirror of
https://github.com/codex-team/editor.js
synced 2026-03-16 15:45:47 +01:00
storage -> localHistoryPlugin
This commit is contained in:
parent
c4471319c7
commit
5df9233fb5
2 changed files with 5 additions and 5 deletions
|
|
@ -4,7 +4,7 @@
|
|||
* Saves editor data to browser local storage.
|
||||
* And uploads data from local storage if there is newer version
|
||||
*/
|
||||
var storage = function () {
|
||||
var localHistoryPlugin = function () {
|
||||
|
||||
var editor = codex.editor,
|
||||
CURRENT_ARTICLE_HASH = null,
|
||||
|
|
@ -211,7 +211,7 @@ var storage = function () {
|
|||
var destroy = function () {
|
||||
|
||||
stop();
|
||||
storage = null;
|
||||
localHistoryPlugin = null;
|
||||
|
||||
};
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue