]>
git.r.bdr.sh - rbdr/blog/blob - static/js/blog.js
68c13dacbeb1d35be9f94884a2f3d4ce9d492f75
8 // Application entry point, for now just band to keyboard
12 w
.document
.addEventListener('keydown', internals
._onKeyDown
);
15 // Handles key events to point to the correct blog post.
19 if (['1','2','3'].indexOf(e
.key
) > -1) {
20 w
.location
.hash
= e
.key
;
25 w
.addEventListener('load', internals
.main
);