Skip to content

Commit

Permalink
Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
TooTallNate committed Oct 15, 2023
1 parent 4b71ec3 commit 46f46a9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion apps/svg/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ import { Canvg } from 'canvg';
import { DOMParser } from '@xmldom/xmldom';

// From: https://commons.wikimedia.org/wiki/File:Ghostscript_Tiger.svg
const svgData = Switch.readFileSync(new URL('Ghostscript_Tiger.svg', Switch.entrypoint));
const svgData = Switch.readFileSync(
new URL('Ghostscript_Tiger.svg', Switch.entrypoint)
);
const svg = new TextDecoder().decode(svgData);

const canvas = Switch.screen;
Expand Down

0 comments on commit 46f46a9

Please sign in to comment.