mirror of
https://github.com/wallabag/wallabag.git
synced 2024-06-13 02:39:31 +00:00
af61cb80eb
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
9 lines
151 B
JavaScript
Executable file
9 lines
151 B
JavaScript
Executable file
function split(val) {
|
|
return val.split(/,\s*/);
|
|
}
|
|
function extractLast(term) {
|
|
return split(term).pop();
|
|
}
|
|
|
|
export default { split, extractLast };
|