www

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

commit eef108b2ddb2f33da2d89cef39b01663f9a16b5f
parent c48de165e8795dc6fc0c932d83c75b44ff7dc2d9
Author: Emily Eisenberg <emily@khanacademy.org>
Date:   Wed, 22 Apr 2015 15:33:26 -0700

Fix lint

Test plan:
 - `npm test`

Auditors: alpert

Diffstat:
Msrc/buildHTML.js | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/buildHTML.js b/src/buildHTML.js @@ -826,12 +826,12 @@ var groupTypes = { [root]); // Figure out the height and depth of the inner part - var innerHeight = Math.max(delim.height, body.height); - var innerDepth = Math.max(delim.depth, body.depth); + var innerRootHeight = Math.max(delim.height, body.height); + var innerRootDepth = Math.max(delim.depth, body.depth); // The amount the index is shifted by. This is taken from the TeX // source, in the definition of `\r@@t`. - var toShift = 0.6 * (innerHeight - innerDepth); + var toShift = 0.6 * (innerRootHeight - innerRootDepth); // Build a VList with the superscript shifted up correctly var rootVList = buildCommon.makeVList(