file formatting cleanup on search.ts

pull/3/head
David Tookey 5 years ago
parent b884fa88a7
commit d7e73e4361

@ -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<string, object> {
}
}
return map;
}
@ -125,5 +123,4 @@ function escapeRegExp(term: string): string {
return term.replace(/[.*+?^${}()|[\]\\]/g, '\\$&'); // $& means the whole matched string
}
register()
Loading…
Cancel
Save