Permalink
Browse files

names aren't 1:1 either, updated tests and structures

  • Loading branch information...
1 parent 52cc13a commit d521546b05c6610d91c28a33895c980ac3ddef78 @substack committed Nov 19, 2010
Showing with 4 additions and 2 deletions.
  1. +1 −1 data/keysyms.json
  2. +3 −1 scrape.js
View
Oops, something went wrong.
View
@@ -22,8 +22,10 @@ Lazy(s).lines.map(String)
if (!data.unicodes[rec.unicode]) data.unicodes[rec.unicode] = [];
data.unicodes[rec.unicode].push(i);
+ if (!data.names[rec.name]) data.names[rec.name] = [];
+ data.names[rec.name].push(i);
+
data.keysyms[rec.keysym] = i;
- data.names[rec.name] = i;
});
fs.createWriteStream(__dirname + '/data/keysyms.json')
.write(JSON.stringify(data));

0 comments on commit d521546

Please sign in to comment.