storage -> localHistoryPlugin

This commit is contained in:
George Berezhnoy 2017-02-14 20:00:31 +03:00
commit 5df9233fb5
2 changed files with 5 additions and 5 deletions

View file

@ -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;
};