mirror of
https://github.com/zadam/trilium.git
synced 2025-02-23 22:44:44 +08:00
added createAttribute method to script API
This commit is contained in:
parent
9bf1735bde
commit
dfd9927310
1 changed files with 2 additions and 0 deletions
|
@ -54,6 +54,8 @@ function ScriptContext(noteId, dataKey) {
|
||||||
return noteId;
|
return noteId;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
this.createAttribute = attributes.createAttribute;
|
||||||
|
|
||||||
this.updateEntity = this.repository.updateEntity;
|
this.updateEntity = this.repository.updateEntity;
|
||||||
|
|
||||||
this.log = function(message) {
|
this.log = function(message) {
|
||||||
|
|
Loading…
Reference in a new issue