mirror of
https://github.com/wallabag/wallabag.git
synced 2024-06-09 00:39:24 +00:00
c146f6940a
* ES6 all the things ! * ESLint checks everything * CSS fixes (use stylelint) * Fix #2231
9 lines
143 B
JavaScript
Executable file
9 lines
143 B
JavaScript
Executable file
function split(val) {
|
|
return val.split(/,\s*/);
|
|
}
|
|
function extractLast(term) {
|
|
return split(term).pop();
|
|
}
|
|
|
|
export { split, extractLast };
|