mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 18:36:30 +01:00 
			
		
		
		
	#125, implementation of inheritable relations
This commit is contained in:
		| @@ -139,8 +139,14 @@ function sanitizeVariableName(str) { | ||||
|     return str.replace(/[^a-z0-9_]/gim, ""); | ||||
| } | ||||
|  | ||||
| async function getScriptBundleForNoteId(noteId) { | ||||
|     const note = await repository.getNote(noteId); | ||||
|     return await getScriptBundle(note); | ||||
| } | ||||
|  | ||||
| module.exports = { | ||||
|     executeNote, | ||||
|     executeScript, | ||||
|     getScriptBundle | ||||
|     getScriptBundle, | ||||
|     getScriptBundleForNoteId | ||||
| }; | ||||
		Reference in New Issue
	
	Block a user