Fix undefined maxFontSize

Fix getting a NaN maxFontSize in makeVList because symbolNodes don't have a
maxFontSize property.

Test plan:
 - Make sure no huxley screenshots changed

Auditors: alpert
This commit is contained in:
Emily Eisenberg 2014-09-12 15:38:48 -07:00
parent 6ee2ecf47e
commit ad056abbaf

View File

@ -65,6 +65,7 @@ function symbolNode(value, height, depth, italic, classes, style) {
this.italic = italic || 0;
this.classes = classes || [];
this.style = style || {};
this.maxFontSize = 0;
}
symbolNode.prototype.toDOM = function() {