zurb/foundation — pull request #1247 by stevewasiura (2012-12-03 16:32:39+00:00)
Title: fix bug in Orbit singleCycle conditional

if (this.$slides.last() && this.options.singleCycle) {

.last() returns a jQ object, not a boolean
fixed with:

if (this.activeSlide === this.$slides.length-1 && this.options.singleCycle) {