From 93119091893c2f2bf396785e6bd7dcbb9b4f207d Mon Sep 17 00:00:00 2001 From: Andreas Stöckel Date: Sun, 22 Mar 2015 01:14:35 +0100 Subject: * Implement code highlighting using Prism * Automatically build ousia.js --- script/ousia.js | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 script/ousia.js (limited to 'script/ousia.js') diff --git a/script/ousia.js b/script/ousia.js deleted file mode 100644 index 0ef203a..0000000 --- a/script/ousia.js +++ /dev/null @@ -1,22 +0,0 @@ -// @license magnet:?xt=urn:btih:5305d91886084f776adcf57509a648432709a7c7&dn=x11.txt -/* - * Ousía Website JS - * - * (c) Andreas Stöckel, 2015 - * - * This work is licensed under the X11 (MIT) license. - * http://www.opensource.org/licenses/mit-license.php - */ -(function () { - "use strict"; - var header = document.querySelector("header"); - window.addEventListener("scroll", function () { - if (window.pageYOffset > 40) { - header.className = "scrolled"; - } else { - header.className = ""; - } - }); -})(); -// @license-end - -- cgit v1.2.3