thelounge/client/js/location.js
2019-11-25 20:13:12 +02:00

10 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();
},
};