zurb/foundation — pull request #1191 by remosiegwart (2012-11-16 19:55:28+00:00)
Title: Fixed orbit single cycle feature

Sadly, the orbit single cycle feature actually never really worked. The if clause `this.$slides.last()` was always true, because `.last()` just returns the last object of the list `this.$slides`.

Not sure whether `this.currentSlide().is(":last-child")` is the nicest solution, but it works. Open for feedback.