]>
git.r.bdr.sh - rbdr/blog/blob - static/js/blog.js
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
);