mirror of
https://github.com/hodgef/simple-keyboard.git
synced 2025-02-22 01:29:39 +08:00
Build update
This commit is contained in:
parent
6b6c88cffc
commit
863dd144b3
@ -1,6 +1,6 @@
|
||||
/*!
|
||||
*
|
||||
* simple-keyboard v3.4.131
|
||||
* simple-keyboard v3.4.132
|
||||
* https://github.com/hodgef/simple-keyboard
|
||||
*
|
||||
* Copyright (c) Francisco Hodge (https://github.com/hodgef) and project contributors.
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
4
build/services/Utilities.d.ts
vendored
4
build/services/Utilities.d.ts
vendored
@ -185,6 +185,10 @@ declare class Utilities {
|
||||
* Split array into chunks
|
||||
*/
|
||||
chunkArray<T>(arr: T[], size: number): T[][];
|
||||
/**
|
||||
* Escape regex input
|
||||
*/
|
||||
escapeRegex(str: string): string;
|
||||
/**
|
||||
* Reusable empty function
|
||||
*/
|
||||
|
@ -536,7 +536,7 @@ class Utilities {
|
||||
* Escape regex input
|
||||
*/
|
||||
escapeRegex(str: string) {
|
||||
return str.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&');
|
||||
return str.replace(/[-\/\\^$*+?.()|[\]{}]/g, "\\$&");
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user