Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/glayzzle/grafine
Browse files Browse the repository at this point in the history
  • Loading branch information
ichiriac committed Aug 8, 2019
2 parents dfc59a2 + 616ff0a commit 0c52f55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Expand Up @@ -155,7 +155,7 @@ module.exports = function(grafine) {
if (values) {
var result = new Set();
values.forEach(function(indexes, name) {
if (indexes && cb(name.toString())) {
if (indexes && cb(name.toString(), indexes)) {
for(var k = 0; k < indexes.length; k++) {
result.add(indexes[k]);
}
Expand Down

0 comments on commit 0c52f55

Please sign in to comment.