1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-15 23:00:36 +02:00

Allow multiple selection

This commit is contained in:
Laurent Cozic
2017-11-22 18:35:31 +00:00
parent 3e1ea0eb0a
commit e4d48f43d6
8 changed files with 133 additions and 32 deletions

View File

@ -0,0 +1,9 @@
const ArrayUtils = {};
ArrayUtils.unique = function(array) {
return array.filter(function(elem, index, self) {
return index === self.indexOf(elem);
});
}
module.exports = ArrayUtils;