forked from MapComplete/MapComplete
Fix build
This commit is contained in:
parent
3f8b6e88d3
commit
dc1dde6c3d
8 changed files with 191 additions and 32 deletions
|
@ -1,6 +1,11 @@
|
|||
export class Img {
|
||||
|
||||
public static runningFromConsole = false;
|
||||
|
||||
static AsData(source:string){
|
||||
if(this.runningFromConsole){
|
||||
return source;
|
||||
}
|
||||
return `data:image/svg+xml;base64,${(btoa(source))}`;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue