16 |
17 | var result = [];
18 |
19 | var index = 0;
20 | while (index < str.length) {
21 | var point = codePoint(str.charAt(index) + str.charAt(index + 1));
^
TypeError: codePoint is not a function. (In 'codePoint(str.charAt(index) + str.charAt(index + 1))', 'codePoint' is an instance of Module)
at codePoints (********/node_modules/code-points/dist/code-points-cjs.js:21:17)
at string2unicodes (********/node_modules/fontmin/lib/util.js:122:19)
at <anonymous> (********/node_modules/fontmin/plugins/glyph.js:125:24)
My test case :