Browse Source

[merge]

master
Muthu Kumar 7 years ago
parent
commit
dac5267c39
  1. 4
      structures/slider.js

4
structures/slider.js

@ -31,7 +31,7 @@ class Slider {
) return [ firstMatch, i ]; ) return [ firstMatch, i ];
const newWindow = Deck.from(guest.slice(++i, k)); const newWindow = Deck.from(guest.slice(++i, k));
if(newWindow.length !== 0 && newWindow.length === k) return recurse(newWindow, i); if(newWindow.length !== 0 && newWindow.length === k) return startSliding(newWindow, i);
return [ -1, -1 ]; return [ -1, -1 ];
@ -42,4 +42,4 @@ class Slider {
} }
}; };
module.exports = Slider; module.exports = Slider;

Loading…
Cancel
Save