mirror of
https://github.com/zadam/trilium.git
synced 2024-09-20 15:45:58 +08:00
removed unused methods
This commit is contained in:
parent
6426157bb3
commit
cf84114f91
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue