short circuiting in unslider.js
Hey guys ,
was just going through the source of Unslider.js and came across the following line of code :
- el.animate(obj, speed, easing) && ul.animate($.extend({left: '-' + index + '00%'}, obj), speed, easing, function(data) { // some code }
i understand its short circuiting , but i am still pritty unsure what it is . what i mean is .
- el.animate(obj, speed, easing)
so does that line really mean just execute the animaton function on el and after that execute the animation function on ul ??
Thank you .
gautam.