excmds.ts: export forceURI function

This commit is contained in:
glacambre 2018-03-03 09:56:05 +01:00
parent fdbf132f4e
commit 67e95a87d7
No known key found for this signature in database
GPG key ID: B9625DB1767553AC

View file

@ -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 {