{"action":"closed","issue":{"url":"https://api.github.com/repos/nolimits4web/Swiper/issues/797","labels_url":"https://api.github.com/repos/nolimits4web/Swiper/issues/797/labels{/name}","comments_url":"https://api.github.com/repos/nolimits4web/Swiper/issues/797/comments","events_url":"https://api.github.com/repos/nolimits4web/Swiper/issues/797/events","html_url":"https://github.com/nolimits4web/Swiper/issues/797","id":34448283,"number":797,"title":"Miscalculation of slides count when in loop mode","user":{"login":"xelhark","id":325178,"avatar_url":"https://avatars.githubusercontent.com/u/325178?v=3","gravatar_id":"","url":"https://api.github.com/users/xelhark","html_url":"https://github.com/xelhark","followers_url":"https://api.github.com/users/xelhark/followers","following_url":"https://api.github.com/users/xelhark/following{/other_user}","gists_url":"https://api.github.com/users/xelhark/gists{/gist_id}","starred_url":"https://api.github.com/users/xelhark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xelhark/subscriptions","organizations_url":"https://api.github.com/users/xelhark/orgs","repos_url":"https://api.github.com/users/xelhark/repos","events_url":"https://api.github.com/users/xelhark/events{/privacy}","received_events_url":"https://api.github.com/users/xelhark/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-05-28T09:07:24Z","updated_at":"2015-02-11T20:28:42Z","closed_at":"2015-02-11T20:28:41Z","body":"When in loop mode, the plugin creates two slides duplicates. These duplicates are included in the total count of the slides if you call\r\n\r\n    swiper.slides.length\r\n\r\nI think you should include an external method to return the actual count of the slides without the duplicates. If there is one, I haven't found anything like it in the API."}}