mirror of
https://github.com/thelounge/thelounge
synced 2024-12-13 06:02:31 +00:00
9 lines
232 B
JavaScript
9 lines
232 B
JavaScript
"use strict";
|
|
|
|
// This is a thin wrapper around `window.location`, in order to contain the
|
|
// side-effects. Do not add logic to it as it cannot be tested, only mocked.
|
|
export default {
|
|
reload() {
|
|
window.location.reload();
|
|
},
|
|
};
|