summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRasmus Andersson <rasmus@notion.se>2018-09-04 05:01:27 +0300
committerRasmus Andersson <rasmus@notion.se>2018-09-04 05:01:27 +0300
commitfabb2241daf18b6ebce1624d2b6f72a60fc4e520 (patch)
tree05b84e84e8734d8e14dc512effc490104e55b35a /docs
parent52b14159b77a30c6591cd4cc7eceed6d07da6f51 (diff)
downloadinter-fabb2241daf18b6ebce1624d2b6f72a60fc4e520.tar.xz
web: adjust to new glyphinfo.json format
Diffstat (limited to 'docs')
-rw-r--r--docs/lab/index.html7
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/lab/index.html b/docs/lab/index.html
index 3ced1f065..7b3f785dc 100644
--- a/docs/lab/index.html
+++ b/docs/lab/index.html
@@ -477,7 +477,8 @@ samples.set('Repertoire', {
}
for (const g of glyphs) {
- let [name, uc, ucName, color] = g
+ // let [name, uc, ucName, mtime, color] = g
+ let name = g[0], uc = g[1], ucName = g[2], mtime = g[3] color = g[4]
const ucHex = hexstr(uc, 4)
const style = color && color != '<derived>' ?
@@ -487,10 +488,10 @@ samples.set('Repertoire', {
ucName = '[unknown]'
}
- const title = 'U+' + ucHex + ' ' + ucName + ' ("' + g[0] + '")'
+ const title = 'U+' + ucHex + ' ' + ucName + ' ("' + name + '")'
html += `<g ${style} title=\'${title}\'>
<span class="glyph">&#x${ucHex};</span>
- <span class="name">${g[0]}</span>
+ <span class="name">${name}</span>
</g>`
}