mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-31 13:01:31 +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); |         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) { |     function getNodesByNoteTreeId(noteTreeId) { | ||||||
|         assertArguments(noteTreeId); |         assertArguments(noteTreeId); | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 azivner
						azivner