various typos under opts.addSlide = function(newSlide, prepend) {
Hello there, here are a few issues I encountered while trying to get the addSlide() function to work:
elsprepend?'unshift':'push'; should be elseprepend?'unshift':'push';
if (opts.els) should be if (els)
opts.elsprepend?'unshift':'push'; // shuffle needs this should be elsprepend?'unshift':'push'; // shuffle needs this
That is supposed to be "els", not "else". It's not a typo. "els" is an array of elements.
On Mon, Dec 19, 2011 at 7:12 AM, CA-ITRM < [email protected]
wrote:
Hello there, here are a few issues I encountered while trying to get the addSlide() function to work:
elsprepend?'unshift':'push'; should be elseprepend?'unshift':'push';
if (opts.els) should be if (els)
opts.elsprepend?'unshift':'push'; // shuffle needs this should be elsprepend?'unshift':'push'; // shuffle needs this
Reply to this email directly or view it on GitHub: https://github.com/malsup/cycle/issues/86