1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 08:43:33 +00:00

move getDomain to jslib Utils

This commit is contained in:
Kyle Spearrin
2018-10-13 22:21:54 -04:00
parent c35576deb8
commit ad97afc590
9 changed files with 94 additions and 29 deletions

View File

@@ -17,7 +17,6 @@ import { MessagingService } from '../../abstractions/messaging.service';
import { PlatformUtilsService } from '../../abstractions/platformUtils.service';
import { AnalyticsIds } from '../../misc/analytics';
import { Utils } from '../../misc/utils';
export class ElectronPlatformUtilsService implements PlatformUtilsService {
identityClientId: string;
@@ -99,10 +98,6 @@ export class ElectronPlatformUtilsService implements PlatformUtilsService {
return this.analyticsIdCache;
}
getDomain(uriString: string): string {
return Utils.getHostname(uriString);
}
isViewOpen(): boolean {
return false;
}