Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
client: Remove redundant global
Elian Doran53822fd47f2d
diff --git a/src/public/app/services/glob.js b/src/public/app/services/glob.jsindex e3603a9e67..997a2ac341 100644--- a/src/public/app/services/glob.js+++ b/src/public/app/services/glob.js@@ -26,21 +26,6 @@ function setupGlobs() {// for CKEditor integration (button on block toolbar)window.glob.importMarkdownInline = async () => appContext.triggerCommand("importMarkdownInline");- window.glob.SEARCH_HELP_TEXT = `- <strong>Search tips</strong> - also see <button class="btn btn-sm" type="button" data-help-page="search.html">complete help on search</button>- <p>- <ul>- <li>Just enter any text for full text search</li>- <li><code>#abc</code> - returns notes with label abc</li>- <li><code>#year = 2019</code> - matches notes with label <code>year</code> having value <code>2019</code></li>- <li><code>#rock #pop</code> - matches notes which have both <code>rock</code> and <code>pop</code> labels</li>- <li><code>#rock or #pop</code> - only one of the labels must be present</li>- <li><code>#year <= 2000</code> - numerical comparison (also >, >=, <).</li>- <li><code>note.dateCreated >= MONTH-1</code> - notes created in the last month</li>- <li><code>=handler</code> - will execute script defined in <code>handler</code> relation to get results</li>- </ul>- </p>`;-window.onerror = function (msg, url, lineNo, columnNo, error) {const string = msg.toLowerCase();