Skip to content

Commit

Permalink
docs: fix Simple_Case_Mapping readme examples (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
JLHwung authored Nov 11, 2024
1 parent 4c77f90 commit 03ddf5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ require('@unicode/unicode-<%= version %>/<%= type %>').get(codePoint); // lookup
<%
}
dirs[type].forEach(function(dir) {
if ('Case_Folding' == type || 'Simple_Case_Folding' == type || 'Special_Casing' == type) {
if ('Case_Folding' == type || 'Simple_Case_Mapping' == type || 'Special_Casing' == type) {
%>
require('@unicode/unicode-<%= version %>/<%= type %>/<%= dir %>/code-points.js'); // lookup map from code point to code point or array of code points
require('@unicode/unicode-<%= version %>/<%= type %>/<%= dir %>/code-points.js').get(codePoint);
Expand Down

0 comments on commit 03ddf5c

Please sign in to comment.