remove test
This commit is contained in:
parent
60c1ae1b30
commit
05ffe63e3d
|
@ -11,13 +11,14 @@ const perf = require('./performance');
|
||||||
function main() {
|
function main() {
|
||||||
perf.start('main()');
|
perf.start('main()');
|
||||||
|
|
||||||
if (window.history && history.replaceState) {
|
// if (window.history && history.replaceState) {
|
||||||
const { pathname, search, hash } = window.location;
|
// const { pathname, search, hash } = window.location;
|
||||||
const path = pathname + search + hash;
|
// const path = pathname + search + hash;
|
||||||
if (!(/^\/[$/]/).test(path)) {
|
// if (!(/^\/[$/]/).test(path)) {
|
||||||
history.replaceState(null, document.title, `${path}`);
|
// console.log('redirecting you to hell');
|
||||||
}
|
// history.replaceState(null, document.title, `${path}`);
|
||||||
}
|
// }
|
||||||
|
// }
|
||||||
|
|
||||||
ready(() => {
|
ready(() => {
|
||||||
const mountNode = document.getElementById('gabsocial');
|
const mountNode = document.getElementById('gabsocial');
|
||||||
|
|
Loading…
Reference in New Issue