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:
@@ -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]);
|
||||
|
Reference in New Issue
Block a user