From 67e95a87d7788901870c9218cfce97cdf4bd580d Mon Sep 17 00:00:00 2001 From: glacambre Date: Sat, 3 Mar 2018 09:56:05 +0100 Subject: [PATCH] excmds.ts: export forceURI function --- src/excmds.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/excmds.ts b/src/excmds.ts index d2ceb1a0..24e6e1fe 100644 --- a/src/excmds.ts +++ b/src/excmds.ts @@ -122,7 +122,7 @@ function searchURL(provider: string, query: string) { /** If maybeURI doesn't have a schema, affix http:// */ /** @hidden */ -function forceURI(maybeURI: string): string { +export function forceURI(maybeURI: string): string { // Need undefined to be able to open about:newtab if (maybeURI == "") return undefined try {