www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit d43f24ea918b81e92c3af0be518965e7e87c909f
parent fdebbe3a18838bb4b571fd7add288e9338a5cf10
Author: Tab Atkins Jr <jackalmage@gmail.com>
Date:   Fri, 16 Dec 2016 13:12:45 -0800

Misspelled variable "candiate"

All uses have the same misspelling, so this wasn't a functionality bug, but still better to have things spelled correctly in the source. ^_^
Diffstat:
Msrc/buildHTML.js | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/buildHTML.js b/src/buildHTML.js @@ -463,11 +463,11 @@ groupTypes.genfrac = function(group, options) { var frac; if (ruleWidth === 0) { // Rule 15c - var candiateClearance = + var candidateClearance = (numShift - numer.depth) - (denom.height - denomShift); - if (candiateClearance < clearance) { - numShift += 0.5 * (clearance - candiateClearance); - denomShift += 0.5 * (clearance - candiateClearance); + if (candidateClearance < clearance) { + numShift += 0.5 * (clearance - candidateClearance); + denomShift += 0.5 * (clearance - candidateClearance); } frac = buildCommon.makeVList([