From bc4fa6b198557a7f3989eb0865e2c77ac7451d29 Mon Sep 17 00:00:00 2001 From: kibigo! Date: Sun, 3 Dec 2017 23:26:40 -0800 Subject: Rename themes -> flavours ? ? --- app/javascript/themes/glitch/util/ready.js | 7 ------- 1 file changed, 7 deletions(-) delete mode 100644 app/javascript/themes/glitch/util/ready.js (limited to 'app/javascript/themes/glitch/util/ready.js') diff --git a/app/javascript/themes/glitch/util/ready.js b/app/javascript/themes/glitch/util/ready.js deleted file mode 100644 index dd543910b..000000000 --- a/app/javascript/themes/glitch/util/ready.js +++ /dev/null @@ -1,7 +0,0 @@ -export default function ready(loaded) { - if (['interactive', 'complete'].includes(document.readyState)) { - loaded(); - } else { - document.addEventListener('DOMContentLoaded', loaded); - } -} -- cgit