mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-12-01 12:34:06 +01:00
Add configurable hotkeys support (#343)
This commit is contained in:
1 parent
58bf55704a
commit
00bf5920e3
23 files changed
+540
-79
No files matched your search
@@ -1,3 +1,6 @@
|
||||
export function capitalize(str: string): string {
|
||||
return str.charAt(0).toUpperCase() + str.slice(1);
|
||||
return str
|
||||
.split(' ')
|
||||
.map((word) => word.charAt(0).toUpperCase() + word.slice(1))
|
||||
.join(' ');
|
||||
}
|
||||
Reference in new issue
Block a user