interim commit

This commit is contained in:
Jason Miller
2018-03-09 13:24:30 -05:00
commit 60eafdc3fd
23 changed files with 16430 additions and 0 deletions

18
src/index.js Normal file
View File

@@ -0,0 +1,18 @@
import './style';
import './lib/fix-pmc';
import App from './components/app';
export default App;
if (typeof window!=='undefined') {
addEventListener('click', e => {
let { target } = e;
do {
if (target.nodeName === 'A') {
history.pushState(null, null, target.pathname);
e.preventDefault();
return false;
}
} while (target = target.parentNode);
});
}