dimsemenov/PhotoSwipe — pull request #702 by thexeos (2014-12-31 19:43:17+00:00)
Title: Add loopedOver event

When the gallery core or item controller load the next element which is on the other end of the list, the loopedOver event can be used by the developers to update something on the page, instead of having to listen for "afterChange" and checking the index of the currItem, while keeping the index of the previous item.
This will make it easier to make custom UIs and use PS in existing systems.