Prepare to load missing radicals

This commit is contained in:
Shaunak Kishore
2015-09-26 01:01:21 -04:00
parent 477d6cdc40
commit 0cf0bfab42
2 changed files with 11 additions and 2 deletions

View File

@ -544,7 +544,7 @@ this.get_glyph_render_data = function(glyph, manual_bridges, classifier) {
var strokes = extract_strokes(
paths, endpoints, manual_bridges || bridges, log);
var character = String.fromCodePoint(parseInt(glyph.name.substr(3), 16));
var expected = cjklib.stroke_counts[character];
var expected = cjklib.getCharacterData(character).strokes;
log.push(['success', 'For character: ' +
String.fromCodePoint(parseInt(glyph.name.substr(3), 16))]);
if (expected === undefined) {