Skip to content

Commit

Permalink
2.6.1 Release
Browse files Browse the repository at this point in the history
- important fix for fireCallback
  • Loading branch information
nolimits4web committed May 6, 2014
1 parent 27d3011 commit dbf4438
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 10 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 2.6.1 - Updated on May 6, 2014

* Fix for fireCallback function when it is called externally

## Swiper 2.6.0 - Updated on April 9, 2014

* New methods to enable/disable mousewheel control: enableMousewheeControl/disableMousewheeControl
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": "Mobile touch slider and framework with hardware accelerated transitions",
"version": "2.6.0",
"version": "2.6.1",
"author": "Vladimir Kharlampidi",
"homepage": "http://www.idangero.us/sliders/swiper/",
"keywords": ["swiper", "swipe", "slider"],
Expand Down
4 changes: 2 additions & 2 deletions dist/idangerous.swiper.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Swiper 2.6.0
* Swiper 2.6.1
* Mobile touch slider and framework with hardware accelerated transitions
*
* http://www.idangero.us/sliders/swiper/
Expand All @@ -10,7 +10,7 @@
*
* Licensed under GPL & MIT
*
* Released on: April 9, 2014
* Released on: May 6, 2014
*/
.swiper-container {
margin:0 auto;
Expand Down
6 changes: 3 additions & 3 deletions dist/idangerous.swiper.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Swiper 2.6.0
* Swiper 2.6.1
* Mobile touch slider and framework with hardware accelerated transitions
*
* http://www.idangero.us/sliders/swiper/
Expand All @@ -10,7 +10,7 @@
*
* Licensed under GPL & MIT
*
* Released on: April 9, 2014
* Released on: May 6, 2014
*/
var Swiper = function (selector, params) {
'use strict';
Expand Down Expand Up @@ -499,7 +499,7 @@ var Swiper = function (selector, params) {
}
}
} else if (Object.prototype.toString.call(callback) === '[object String]') {
if (params['on' + callback]) _this.fireCallback(params['on' + callback]);
if (params['on' + callback]) _this.fireCallback(params['on' + callback], arguments[1], arguments[2], arguments[3], arguments[4], arguments[5]);
} else {
callback(arguments[1], arguments[2], arguments[3], arguments[4], arguments[5]);
}
Expand Down
6 changes: 3 additions & 3 deletions dist/idangerous.swiper.min.js

Large diffs are not rendered by default.

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": "2.6.0",
"version": "2.6.1",
"description": "Mobile touch slider and framework with hardware accelerated transitions",
"main": "dist/idangerous.swiper.js",
"repository": {
Expand Down

0 comments on commit dbf4438

Please sign in to comment.