From b130fd52681a4e3f381d3d09a48589fc42996a8b Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Sun, 22 Jul 2018 11:33:52 +0900 Subject: TabPresenter --- src/background/presenters/tab.js | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 src/background/presenters/tab.js (limited to 'src/background/presenters') diff --git a/src/background/presenters/tab.js b/src/background/presenters/tab.js new file mode 100644 index 0000000..8f60535 --- /dev/null +++ b/src/background/presenters/tab.js @@ -0,0 +1,5 @@ +export default class TabPresenter { + create(url) { + browser.tabs.create({ url, }); + } +} -- cgit v1.2.3