hardlounge/client/js/location.js

10 lines
232 B
JavaScript
Raw Normal View History

"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.
2019-11-16 17:24:03 +00:00
export default {
reload() {
window.location.reload();
},
};