We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi.
I want to have my words sorted. I write this script in node, and it runs fine.
let text = "emacs nnn jq ShellCheck tidy neofetch stow workrave pandoc flameshot copyq"; let sorted = text .split(" ") .sort((a, b) => a.localeCompare(b)) .join(" "); console.log(sorted);
⬢ ❯ node sort.js copyq emacs flameshot jq neofetch nnn pandoc ShellCheck stow tidy workrave
But, when putting it in boop, I got the error below. RangeError. Internal Error. Icu error
RangeError. Internal Error. Icu error
/** { "api":1, "name":"Sort words", "description":"Sort words alphabetically", "author":"Azzam S.A (https://github.com/azzams)", "icon":"sort-characters", "tags":"sort,alphabet" } **/ function main(input) { input.text = input.text .replace(/\n$/, "") .split(" ") .sort((a, b) => a.localeCompare(b)) .join(" "); }
Related:
The text was updated successfully, but these errors were encountered:
I'm thinking that the internal node.js that Boop-GTK relies on doesn't have full-icu See nodejs/node#12529
Sorry, something went wrong.
I have fully migrated to https://github.com/liferooter/textpieces
No branches or pull requests
Hi.
I want to have my words sorted. I write this script in node, and it runs fine.
But, when putting it in boop, I got the error below.
RangeError. Internal Error. Icu error
Related:
The text was updated successfully, but these errors were encountered: