bespokejs / bespoke

DIY Presentation Micro-Framework
http://markdalgleish.com/projects/bespoke.js/
MIT License
4.68k stars 443 forks source link

calling deck.next() or deck.prev() sometimes fails to call activate. #58

Closed mshwery closed 9 years ago

mshwery commented 9 years ago

https://github.com/markdalgleish/bespoke.js/blob/v1.0.0/lib/bespoke.js#L28

This is best illustrated while using the bespoke-keys module. If you have 3 slides, and you deck.next() to the 2nd slide, it takes 3 more deck.next() calls to trigger activate to get to the 3rd slide (on L28 in bespoke.js).

I can't quite tell if this is because of a bad return within fire since these are joined with &&. :(

mshwery commented 9 years ago

Nevermind!

Figured out that it's because I had setup bespoke-bullet but failed to notice I had exactly 3 bullets on that slide, coincidentally.