Merge branch 'master' into more_naming_conventions

This commit is contained in:
Daniel Imms
2018-06-03 07:23:14 -07:00
committed by GitHub
59 changed files with 3506 additions and 336 deletions
+1 -1
View File
@@ -161,7 +161,7 @@ export const wcwidth = (function(opts: {nul: number, control: number}): (ucs: nu
if (num < 127) {
return 1;
}
let t = table || initTable();
const t = table || initTable();
if (num < 65536) {
return t[num >> 4] >> ((num & 15) << 1) & 3;
}