mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 14:03:48 +03:00
14 lines
260 B
JavaScript
14 lines
260 B
JavaScript
export default {
|
|
changeLocation(url) {
|
|
window.location = url;
|
|
},
|
|
|
|
replaceLocation(url) {
|
|
window.location.replace(url);
|
|
},
|
|
|
|
replaceState(params, title, url) {
|
|
window.history.replaceState(params, title, url);
|
|
}
|
|
};
|