diff options
Diffstat (limited to 'src/background/presenters/tab.js')
-rw-r--r-- | src/background/presenters/tab.js | 5 |
1 files changed, 5 insertions, 0 deletions
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, }); + } +} |