Closed JohnnyKB closed 9 years ago
Well, nevermind. Javascript 101: if I add a function or a console log in the callback definitions, it will be executed on plugin load. Once I overcame that stupid mistake on my behalf, everything was working as expected.
Thank you for your great work, and replying on Twitter! Johnny.
I execute Joyride when a condition is met, and after going nuts as to why the
postRideCallback
was firing when I executed Joyride, I test this out for debugging purposes:The console shows this, which appears all at once:
For some reason, all the callbacks are fired as soon as the plugin kicks in.