From cf84114f9125296895aaa4cad77645bcf36bdf6c Mon Sep 17 00:00:00 2001 From: azivner Date: Thu, 28 Dec 2017 19:58:33 -0500 Subject: [PATCH] removed unused methods --- public/javascripts/note_tree.js | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/public/javascripts/note_tree.js b/public/javascripts/note_tree.js index 57c93e1f9..256470854 100644 --- a/public/javascripts/note_tree.js +++ b/public/javascripts/note_tree.js @@ -60,23 +60,6 @@ const noteTree = (function() { return treeUtils.getNotePath(node); } - function getCurrentNoteId() { - const node = getCurrentNode(); - - return node ? node.data.note_id : null; - } - - function getCurrentClones() { - const noteId = getCurrentNoteId(); - - if (noteId) { - return getNodesByNoteId(noteId); - } - else { - return []; - } - } - function getNodesByNoteTreeId(noteTreeId) { assertArguments(noteTreeId);