From 0fa7c61ebac647091d66657f574717122471556a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kl=C4=81vs=20Pried=C4=ABtis?= Date: Thu, 27 Sep 2018 11:51:16 +0300 Subject: [PATCH] fix strict mode --- script.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script.js b/script.js index 148c308c..44a8e1dc 100644 --- a/script.js +++ b/script.js @@ -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 => {