From bf9761fe98eb486c0788f1e29ed67edd9df4e513 Mon Sep 17 00:00:00 2001 From: Pomax Date: Sun, 10 Jan 2016 15:15:06 -0800 Subject: [PATCH] missing var --- components/sections/polybezier/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/sections/polybezier/index.js b/components/sections/polybezier/index.js index 04caaa06..5bd71fa6 100644 --- a/components/sections/polybezier/index.js +++ b/components/sections/polybezier/index.js @@ -149,7 +149,8 @@ var PolyBezier = React.createClass({ }, moveQuadraticPoint: function(api, i) { - this.moveCubicPoint(api,i), anchor, toMove, fixed; + this.moveCubicPoint(api,i); + var anchor, toMove, fixed; // then move the other control points [-1,1].forEach(v => {