Skip to content

Commit

Permalink
Change @unicode to @code
Browse files Browse the repository at this point in the history
  • Loading branch information
yuanchuan committed Sep 14, 2023
1 parent 31e0791 commit 94228d1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/function.js
Original file line number Diff line number Diff line change
Expand Up @@ -710,7 +710,7 @@ const Expose = add_alias({
}
},

unicode() {
code() {
return (...args) => {
return args.map(code => String.fromCharCode(code));
}
Expand Down Expand Up @@ -804,6 +804,7 @@ const Expose = add_alias({
'point': 'plot',
'Point': 'Plot',
'paint': 'canvas',
'unicode': 'code'
});

export default Expose;

0 comments on commit 94228d1

Please sign in to comment.