Skip to content

Commit

Permalink
3.2.7 Release
Browse files Browse the repository at this point in the history
  • Loading branch information
nolimits4web committed Dec 7, 2015
1 parent 42ca73e commit d8c79ce
Show file tree
Hide file tree
Showing 16 changed files with 70 additions and 54 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change Log

## Swiper 3.2.7 - Released on December 7, 2015
* Fixed issue with using HTMLElements for next/prevButton parameters with breakpoints
* Fixed issue with not working Auto Height when using Controller

## Swiper 3.2.6 - Released on November 28, 2015
* Fixed issue in RTL layout using `mousewheelControl`
* Fixed issue in RTL layout using Parallax
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"url": "https://github.com/nolimits4web/Swiper.git"
},
"description": "Most modern mobile touch slider and framework with hardware accelerated transitions",
"version": "3.2.6",
"version": "3.2.7",
"author": "Vladimir Kharlampidi",
"homepage": "http://www.idangero.us/swiper/",
"keywords": ["swiper", "swipe", "slider", "touch", "ios", "mobile", "cordova", "phonegap", "app", "framework", "carousel", "gallery"],
Expand Down
2 changes: 1 addition & 1 deletion component.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "swiper",
"repo": "https://github.com/nolimits4web/Swiper.git",
"description": "Most modern mobile touch slider and framework with hardware accelerated transitions",
"version": "3.2.6",
"version": "3.2.7",
"keywords": ["swiper", "swipe", "slider", "touch", "ios", "mobile", "cordova", "phonegap", "app", "framework", "carousel", "gallery"],
"dependencies": {
},
Expand Down
4 changes: 2 additions & 2 deletions dist/css/swiper.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Swiper 3.2.6
* Swiper 3.2.7
* Most modern mobile touch slider and framework with hardware accelerated transitions
*
* http://www.idangero.us/swiper/
Expand All @@ -10,7 +10,7 @@
*
* Licensed under MIT
*
* Released on: November 28, 2015
* Released on: December 7, 2015
*/
.swiper-container {
margin: 0 auto;
Expand Down
4 changes: 2 additions & 2 deletions dist/css/swiper.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/js/maps/swiper.jquery.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/js/maps/swiper.jquery.umd.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/js/maps/swiper.min.js.map

Large diffs are not rendered by default.

24 changes: 14 additions & 10 deletions dist/js/swiper.jquery.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Swiper 3.2.6
* Swiper 3.2.7
* Most modern mobile touch slider and framework with hardware accelerated transitions
*
* http://www.idangero.us/swiper/
Expand All @@ -10,7 +10,7 @@
*
* Licensed under MIT
*
* Released on: November 28, 2015
* Released on: December 7, 2015
*/
(function () {
'use strict';
Expand Down Expand Up @@ -205,7 +205,7 @@
params = params || {};
var originalParams = {};
for (var param in params) {
if (typeof params[param] === 'object') {
if (typeof params[param] === 'object' && !(params[param].nodeType || params[param] === window || params[param] === document || (typeof Dom7 !== 'undefined' && params[param] instanceof Dom7) || (typeof jQuery !== 'undefined' && params[param] instanceof jQuery))) {
originalParams[param] = {};
for (var deepParam in params[param]) {
originalParams[param][deepParam] = params[param][deepParam];
Expand Down Expand Up @@ -1763,12 +1763,11 @@
s.previousIndex = s.activeIndex || 0;
s.activeIndex = slideIndex;

// Update Height
if (s.params.autoHeight) {
s.updateAutoHeight();
}

if ((s.rtl && -translate === s.translate) || (!s.rtl && translate === s.translate)) {
// Update Height
if (s.params.autoHeight) {
s.updateAutoHeight();
}
s.updateClasses();
if (s.params.effect !== 'slide') {
s.setWrapperTranslate(translate);
Expand All @@ -1779,13 +1778,13 @@
s.onTransitionStart(runCallbacks);

if (speed === 0) {
s.setWrapperTransition(0);
s.setWrapperTranslate(translate);
s.setWrapperTransition(0);
s.onTransitionEnd(runCallbacks);
}
else {
s.setWrapperTransition(speed);
s.setWrapperTranslate(translate);
s.setWrapperTransition(speed);
if (!s.animating) {
s.animating = true;
s.wrapper.transitionEnd(function () {
Expand All @@ -1801,6 +1800,9 @@

s.onTransitionStart = function (runCallbacks) {
if (typeof runCallbacks === 'undefined') runCallbacks = true;
if (s.params.autoHeight) {
s.updateAutoHeight();
}
if (s.lazy) s.lazy.onTransitionStart();
if (runCallbacks) {
s.emit('onTransitionStart', s);
Expand Down Expand Up @@ -2896,9 +2898,11 @@
}
}
s.disableKeyboardControl = function () {
s.params.keyboardControl = false;
$(document).off('keydown', handleKeyboard);
};
s.enableKeyboardControl = function () {
s.params.keyboardControl = true;
$(document).on('keydown', handleKeyboard);
};

Expand Down
8 changes: 4 additions & 4 deletions dist/js/swiper.jquery.min.js

Large diffs are not rendered by default.

Loading

0 comments on commit d8c79ce

Please sign in to comment.