updates to the demo document

This commit is contained in:
zadam 2020-03-26 22:22:18 +01:00
parent 34de8fb874
commit c4bc53da59
2 changed files with 3 additions and 5 deletions

Binary file not shown.

View file

@ -387,12 +387,10 @@ function BackendScriptApi(currentNote, apiParams) {
this.sql = sql;
/**
* Trigger tree refresh in all connected clients. This is required when some tree change happens in
* the backend.
*
* @returns {Promise<void>}
* @method
* @deprecated - this is now no-op since all the changes should be gracefully handled per widget
*/
this.refreshTree = ws.refreshTree;
this.refreshTree = () => {};
/**
* @return {{syncVersion, appVersion, buildRevision, dbVersion, dataDirectory, buildDate}|*} - object representing basic info about running Trilium version