From b8fb4a04ab6f089053eb9be86e7225cd66c17d98 Mon Sep 17 00:00:00 2001 From: Muhammad Adeel Nawaz Date: Sat, 17 Aug 2013 13:16:04 +0500 Subject: [PATCH] namespaceIdx added in settings so that it would be available in before/after callbacks by this.namespaceIdx --- responsiveslides.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/responsiveslides.js b/responsiveslides.js index fbc331a..76a6cbb 100644 --- a/responsiveslides.js +++ b/responsiveslides.js @@ -35,6 +35,9 @@ // Index for namespacing i++; + + // To make namespaceIdx available in before/after function + settings.namespaceIdx = settings.namespace + i; var $this = $(this),