From d7e73e4361466b1b7b0886457890a03f15aa91d5 Mon Sep 17 00:00:00 2001 From: dtookey Date: Fri, 15 Jan 2021 13:36:54 -0500 Subject: [PATCH] file formatting cleanup on search.ts --- src/ts_source/search.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/ts_source/search.ts b/src/ts_source/search.ts index 86323a5..7a36903 100644 --- a/src/ts_source/search.ts +++ b/src/ts_source/search.ts @@ -2,7 +2,6 @@ import {Configurator, DocumentDirectory} from "./fileutils"; import * as path from "path"; import {buildCardsFromConfig, buildUiFromConfig} from "./viewFactory"; - function register() { let searchBar = $("#searchfield"); let searchButton = $("#searchbutton"); @@ -55,7 +54,6 @@ function getFileCardsWithSearchTerm(term): Map { } } - return map; } @@ -125,5 +123,4 @@ function escapeRegExp(term: string): string { return term.replace(/[.*+?^${}()|[\]\\]/g, '\\$&'); // $& means the whole matched string } - register() \ No newline at end of file