De-modulized script.js

This commit is contained in:
Azgaar 2018-09-27 22:44:52 +03:00
parent ff3c70c179
commit 3471cfd271
2 changed files with 3 additions and 4 deletions

View file

@ -6666,7 +6666,6 @@ function fantasyMap() {
// Code from Kaiido's answer:
// https://stackoverflow.com/questions/42402584/how-to-use-google-fonts-in-canvas-when-drawing-dom-objects-in-svg
function GFontToDataURI(url) {
"use strict";
return fetch(url) // first fecth the embed stylesheet page
.then(resp => resp.text()) // we only need the text of it
.then(text => {