mirror of
https://github.com/imputnet/cobalt.git
synced 2026-11-06 01:38:28 +00:00
7.6.6: refined twitter module, removed spaces
This commit is contained in:
parent
bf18652e5a
commit
463ece02c7
5 changed files with 69 additions and 98 deletions
|
|
@ -1,6 +1,5 @@
|
|||
export const testers = {
|
||||
"twitter": (patternMatch) => (patternMatch["id"] && patternMatch["id"].length < 20)
|
||||
|| (patternMatch["spaceId"] && patternMatch["spaceId"].length === 13),
|
||||
"twitter": (patternMatch) => (patternMatch["id"] && patternMatch["id"].length < 20),
|
||||
|
||||
"vk": (patternMatch) => (patternMatch["userId"] && patternMatch["videoId"]
|
||||
&& patternMatch["userId"].length <= 10 && patternMatch["videoId"].length <= 10),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue