fix strict mode

This commit is contained in:
Klāvs Priedītis 2018-09-27 11:51:16 +03:00
parent 32264b3a1d
commit 0fa7c61eba

View file

@ -20,7 +20,7 @@
// Get rid of jQuery as d3.js can almost all the same and more
// Re-build UI on reactive approach, vue.js
"use strict;";
"use strict";
fantasyMap();
function fantasyMap() {
// Version control
@ -6666,7 +6666,7 @@ 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;";
"use strict";
return fetch(url) // first fecth the embed stylesheet page
.then(resp => resp.text()) // we only need the text of it
.then(text => {