1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-07-02 09:08:32 +00:00

4.0.0 Beta 1

This commit is contained in:
SirStendec 2017-11-13 01:23:39 -05:00
parent c2688646af
commit 262757a20d
187 changed files with 22878 additions and 38882 deletions

16
src/entry.js Normal file
View file

@ -0,0 +1,16 @@
/* eslint strict: off */
'use strict';
(() => {
if ( location.hostname === 'player.twitch.tv' )
return;
const DEBUG = localStorage.ffzDebugMode == 'true' && document.body.classList.contains('ffz-dev'),
SERVER = DEBUG ? '//localhost:8000' : '//cdn.frankerfacez.com',
FLAVOR = window.Ember ? 'umbral' : 'avalon',
script = document.createElement('script');
script.id = 'ffz-script';
script.src = `${SERVER}/script/${FLAVOR}.js?_=${Date.now()}`;
document.head.appendChild(script);
})();