1
0
mirror of https://github.com/Pomax/BezierInfo-2.git synced 2025-08-24 17:23:05 +02:00

Use Preact, rather than React (#91)

* moving to Preact to shave off 100+kb

* preact'ed
This commit is contained in:
Mike Kamermans
2017-04-02 14:32:06 -07:00
committed by GitHub
parent bcc465d26b
commit 25a18d8891
18 changed files with 122 additions and 251 deletions

View File

@@ -60,7 +60,7 @@ var options = {
w *= pt2rem;
h *= pt2rem;
return `<img className="LaTeX SVG" src="${filename}" width="${w}rem" height="${h}rem"/>`;
return `<img className="LaTeX SVG" src="${filename}" width="${w}" height="${h}"/>`;
}
};