1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-23 11:56:00 +01:00

remove todos

This commit is contained in:
Kyle Spearrin 2019-08-16 11:52:08 -04:00
parent 8bf6609c23
commit ec19896eab

View File

@ -42,7 +42,6 @@ export class BrowserApi {
} else if (BrowserApi.isSafariApi) {
const tabs = await SafariApp.sendMessageToApp('tabs_query', JSON.stringify(options));
return tabs != null ? JSON.parse(tabs) : null;
// TODO
/*
if (options.currentWindow) {
if (safari.application.activeBrowserWindow) {
@ -203,7 +202,6 @@ export class BrowserApi {
});
} else if (BrowserApi.isSafariApi) {
SafariApp.addMessageListener(name, callback);
// TODO
/*
safari.application.addEventListener('message', async (msgEvent: any) => {
callback(msgEvent.message, {