malsup / cycle2

2nd gen cycling
899 stars 236 forks source link

Feature request: Make console.logging an option #638

Open mkjeldsen opened 9 years ago

mkjeldsen commented 9 years ago

Less an issue, more a feature request, I'd love to see the console logging be optional. As an analyst, having all those cycle-paused/cycle-resumed in the console disturbs my workflow.

I realise that this could probably be very useful during the development phase, but after the coders leave, and the analysts move in, it would be nice for them to be gone :-)

Any further thoughts on this?

malsup commented 9 years ago

Check the faq.

http://jquery.malsup.com/cycle2/faq/

FlashJunior commented 9 years ago

@mkjeldsen

Add the data-cycle-log="false" attribute to your slideshow container.

or if you use JS:

.cycle({
...
log: false
...
})
gforcada commented 9 years ago

:+1: on this issue.

At least the released/minified version should have the switch off by default.

bryan-ash commented 9 years ago

I agree that logging should be OFF by default.

@malsup would you accept a pull request to change that?

mkjeldsen commented 9 years ago

Nice to see I'm not the only one :8ball: