fix: var name
Alexey Raspopov committed
Oct 12, 2014 at 16:06 UTC
1db3ed0d6d3d0490977f258e2fba43f2d6153062
1 file changed
+1
-1
examples/ballmer-peak/example.js
+1
-1
@@ -11,7 +11,7 @@ function computeBallmerPeak(x) {
11
}
12
13
function percentage(x) {
14
- return isNaN(x) ? 'N/A' : (100 - Math.round(pct * 100)) + '%';
14
+ return isNaN(x) ? 'N/A' : (100 - Math.round(x * 100)) + '%';
15
}
16
17
var BallmerPeakCalculator = React.createClass({