implement go-root command

This commit is contained in:
Shin'ya Ueoka 2017-09-17 12:55:43 +09:00
parent e9863299ab
commit ac8f7e65dc
5 changed files with 10 additions and 1 deletions

View file

@ -63,4 +63,8 @@ const parent = (win) => {
}
};
export { historyPrev, historyNext, linkPrev, linkNext, parent };
const root = (win) => {
win.location = win.location.origin;
};
export { historyPrev, historyNext, linkPrev, linkNext, parent, root };