Skip to content

Commit

Permalink
4.1.6 release
Browse files Browse the repository at this point in the history
  • Loading branch information
nolimits4web committed Feb 11, 2018
1 parent c866cba commit a5d6f37
Show file tree
Hide file tree
Showing 11 changed files with 32 additions and 20 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Change Log

## [Swiper 4.1.6](https://github.com/nolimits4web/swiper/compare/v4.1.5...v4.1.6) - Released on February 11, 2018
* Fixed onTouchMoveOpposite event on touch devices

## [Swiper 4.1.5](https://github.com/nolimits4web/swiper/compare/v4.1.0...v4.1.5) - Released on February 10, 2018
* Improved touch events support on desktop Windows devices with touch screen
* Improved "loop fix" when slider is in the free mode
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": "4.1.5",
"version": "4.1.6",
"author": "Vladimir Kharlampidi",
"homepage": "http://www.idangero.us/swiper/",
"keywords": ["swiper", "swipe", "slider", "touch", "ios", "mobile", "cordova", "phonegap", "app", "framework", "carousel", "gallery"],
Expand Down
4 changes: 2 additions & 2 deletions dist/css/swiper.css
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/**
* Swiper 4.1.5
* Swiper 4.1.6
* Most modern mobile touch slider and framework with hardware accelerated transitions
* http://www.idangero.us/swiper/
*
* Copyright 2014-2018 Vladimir Kharlampidi
*
* Released under the MIT License
*
* Released on: February 10, 2018
* Released on: February 11, 2018
*/
.swiper-container {
margin: 0 auto;
Expand Down
4 changes: 2 additions & 2 deletions dist/css/swiper.min.css

Large diffs are not rendered by default.

9 changes: 6 additions & 3 deletions dist/js/swiper.esm.bundle.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/**
* Swiper 4.1.5
* Swiper 4.1.6
* Most modern mobile touch slider and framework with hardware accelerated transitions
* http://www.idangero.us/swiper/
*
* Copyright 2014-2018 Vladimir Kharlampidi
*
* Released under the MIT License
*
* Released on: February 10, 2018
* Released on: February 11, 2018
*/

import { $, add, addClass, append, attr, children, closest, css, data, each, eq, find, hasClass, html, index, is, next, nextAll, off, offset, on, outerHeight, outerWidth, parent, parents, prepend, prev, prevAll, remove, removeAttr, removeClass, styles, text, toggleClass, transform, transition, transitionEnd, trigger } from 'dom7/dist/dom7.modular';
Expand Down Expand Up @@ -1603,7 +1603,7 @@ var onTouchMove = function (event) {
let e = event;
if (e.originalEvent) e = e.originalEvent;
if (!data$$1.isTouched) {
if (data$$1.isMoved && data$$1.isScrolling) {
if (data$$1.startMoving && data$$1.isScrolling) {
swiper.emit('touchMoveOpposite', e);
}
return;
Expand Down Expand Up @@ -1814,6 +1814,7 @@ var onTouchEnd = function (event) {
swiper.setGrabCursor(false);
}
data$$1.isMoved = false;
data$$1.startMoving = false;
return;
}
// Return Grab Cursor
Expand Down Expand Up @@ -1850,10 +1851,12 @@ var onTouchEnd = function (event) {
if (!data$$1.isTouched || !data$$1.isMoved || !swiper.swipeDirection || touches.diff === 0 || data$$1.currentTranslate === data$$1.startTranslate) {
data$$1.isTouched = false;
data$$1.isMoved = false;
data$$1.startMoving = false;
return;
}
data$$1.isTouched = false;
data$$1.isMoved = false;
data$$1.startMoving = false;

let currentPos;
if (params.followFinger) {
Expand Down
9 changes: 6 additions & 3 deletions dist/js/swiper.esm.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/**
* Swiper 4.1.5
* Swiper 4.1.6
* Most modern mobile touch slider and framework with hardware accelerated transitions
* http://www.idangero.us/swiper/
*
* Copyright 2014-2018 Vladimir Kharlampidi
*
* Released under the MIT License
*
* Released on: February 10, 2018
* Released on: February 11, 2018
*/

import { $, add, addClass, append, attr, children, closest, css, data, each, eq, find, hasClass, html, index, is, next, nextAll, off, offset, on, outerHeight, outerWidth, parent, parents, prepend, prev, prevAll, remove, removeAttr, removeClass, styles, text, toggleClass, transform, transition, transitionEnd, trigger } from 'dom7/dist/dom7.modular';
Expand Down Expand Up @@ -1603,7 +1603,7 @@ var onTouchMove = function (event) {
let e = event;
if (e.originalEvent) e = e.originalEvent;
if (!data$$1.isTouched) {
if (data$$1.isMoved && data$$1.isScrolling) {
if (data$$1.startMoving && data$$1.isScrolling) {
swiper.emit('touchMoveOpposite', e);
}
return;
Expand Down Expand Up @@ -1814,6 +1814,7 @@ var onTouchEnd = function (event) {
swiper.setGrabCursor(false);
}
data$$1.isMoved = false;
data$$1.startMoving = false;
return;
}
// Return Grab Cursor
Expand Down Expand Up @@ -1850,10 +1851,12 @@ var onTouchEnd = function (event) {
if (!data$$1.isTouched || !data$$1.isMoved || !swiper.swipeDirection || touches.diff === 0 || data$$1.currentTranslate === data$$1.startTranslate) {
data$$1.isTouched = false;
data$$1.isMoved = false;
data$$1.startMoving = false;
return;
}
data$$1.isTouched = false;
data$$1.isMoved = false;
data$$1.startMoving = false;

let currentPos;
if (params.followFinger) {
Expand Down
9 changes: 6 additions & 3 deletions dist/js/swiper.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/**
* Swiper 4.1.5
* Swiper 4.1.6
* Most modern mobile touch slider and framework with hardware accelerated transitions
* http://www.idangero.us/swiper/
*
* Copyright 2014-2018 Vladimir Kharlampidi
*
* Released under the MIT License
*
* Released on: February 10, 2018
* Released on: February 11, 2018
*/

(function (global, factory) {
Expand Down Expand Up @@ -2532,7 +2532,7 @@ var onTouchMove = function (event) {
var e = event;
if (e.originalEvent) { e = e.originalEvent; }
if (!data.isTouched) {
if (data.isMoved && data.isScrolling) {
if (data.startMoving && data.isScrolling) {
swiper.emit('touchMoveOpposite', e);
}
return;
Expand Down Expand Up @@ -2746,6 +2746,7 @@ var onTouchEnd = function (event) {
swiper.setGrabCursor(false);
}
data.isMoved = false;
data.startMoving = false;
return;
}
// Return Grab Cursor
Expand Down Expand Up @@ -2782,10 +2783,12 @@ var onTouchEnd = function (event) {
if (!data.isTouched || !data.isMoved || !swiper.swipeDirection || touches.diff === 0 || data.currentTranslate === data.startTranslate) {
data.isTouched = false;
data.isMoved = false;
data.startMoving = false;
return;
}
data.isTouched = false;
data.isMoved = false;
data.startMoving = false;

var currentPos;
if (params.followFinger) {
Expand Down
6 changes: 3 additions & 3 deletions dist/js/swiper.min.js

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
var version = '4.1.5';
var version = '4.1.6';

Package.describe({
name: 'nolimits4web:swiper',
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "swiper",
"version": "4.1.5",
"version": "4.1.6",
"description": "Most modern mobile touch slider and framework with hardware accelerated transitions",
"main": "dist/js/swiper.js",
"jsnext:main": "dist/js/swiper.esm.bundle.js",
Expand Down

0 comments on commit a5d6f37

Please sign in to comment.