support r/R commands

This commit is contained in:
Shin'ya Ueoka 2017-08-26 18:43:15 +09:00
parent a5f1e06efc
commit cb36fc666c
4 changed files with 15 additions and 1 deletions

View file

@ -40,4 +40,11 @@ const selectNextTab = (current, count) => {
});
};
export { closeTab, reopenTab, selectNextTab, selectPrevTab };
const reload = (current, cache) => {
browser.tabs.reload(
current.id,
{ bypassCache: cache }
);
};
export { closeTab, reopenTab, selectNextTab, selectPrevTab, reload };