]> git.r.bdr.sh - rbdr/blog/blobdiff - static/js/blog.js
Remove unnecessary static files
[rbdr/blog] / static / js / blog.js
diff --git a/static/js/blog.js b/static/js/blog.js
deleted file mode 100644 (file)
index 68c13da..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-'use strict';
-
-/* globals window */
-
-((w) => {
-
-  const internals = {
-    // Application entry point, for now just band to keyboard
-
-    main() {
-
-      w.document.addEventListener('keydown', internals._onKeyDown);
-    },
-
-    // Handles key events to point to the correct blog post.
-
-    _onKeyDown(e) {
-
-      if (['1','2','3'].indexOf(e.key) > -1) {
-        w.location.hash = e.key;
-      }
-    }
-  };
-
-  w.addEventListener('load', internals.main);
-})(window);