mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-16 17:31:24 +01:00
fix strict mode
This commit is contained in:
parent
32264b3a1d
commit
0fa7c61eba
1 changed files with 2 additions and 2 deletions
|
|
@ -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 => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue