1
0
mirror of https://github.com/Pomax/BezierInfo-2.git synced 2025-09-02 21:02:49 +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

@@ -9,7 +9,7 @@ var Ribbon = React.createClass({
render: function() {
return (<div className="ribbon">
<img src="images/ribbon.png" alt="This page on GitHub" style={{border:"none"}} useMap={"#githubmap"} width="200px" height="149px"/>
<img src="images/ribbon.png" alt="This page on GitHub" style={{border:"none"}} useMap={"#githubmap"} width="200" height="149"/>
<map name="githubmap">
<area shape="poly" coords="30,0, 200,0, 200,114" href={this.state.href} alt="This page on GitHub"/>
</map>