1
0
mirror of https://github.com/Pomax/BezierInfo-2.git synced 2025-08-31 20:11:59 +02:00

cleanup based on uglify feedback

This commit is contained in:
Pomax
2016-01-09 23:31:52 -08:00
parent b3da8f4f74
commit 6dffa0ff0f
16 changed files with 38 additions and 35233 deletions

View File

@@ -2,7 +2,7 @@ var React = require("react");
var Graphic = require("../../Graphic.jsx");
var SectionHeader = require("../../SectionHeader.jsx");
var sin = Math.sin, cos = Math.cos, tan = Math.tan, abs = Math.abs;
var sin = Math.sin, cos = Math.cos, tan = Math.tan;
var CirclesCubic = React.createClass({
getDefaultProps: function() {
@@ -100,7 +100,6 @@ var CirclesCubic = React.createClass({
api.drawCircle(guess.points[2], 3);
// real curve
var offset = {x:api.w, y:0};
api.drawSkeleton(curve);
api.setColor("black");
api.drawLine(curve.points[1], curve.points[2]);