mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
We are writing Typescript here not Swift
This commit is contained in:
parent
d164013ff9
commit
c2bd50715d
1 changed files with 1 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ export function extendRangeToWordBoundaries(range: Range): void {
|
|||
}
|
||||
}
|
||||
|
||||
function disableWordSnap(str: String): boolean {
|
||||
function disableWordSnap(str: string): boolean {
|
||||
// For CJK languages we don't attempt word snapping
|
||||
if (str.match(/[\u3131-\uD79D]/ugi)) {
|
||||
return true
|
||||
|
|
|
|||
Loading…
Reference in a new issue