Skip to content

Commit 116fbed

Browse files
committed
v. 1.4.0
1 parent 63682f2 commit 116fbed

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Peppermint",
3-
"version": "1.3.7",
3+
"version": "1.4.0",
44
"homepage": "http://wd.dizaina.net/en/scripts/peppermint/",
55
"authors": [
66
"Oleg Korsunsky <[email protected]>"

dist/peppermint.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*!
22
* Peppermint touch slider
3-
* v. 1.3.7 | https://github.com/wilddeer/Peppermint
3+
* v. 1.4.0 | https://github.com/wilddeer/Peppermint
44
* Copyright Oleg Korsunsky | http://wd.dizaina.net/
55
*
66
* Depends on Event Burrito (included) | https://github.com/wilddeer/Event-Burrito
@@ -447,8 +447,8 @@ function Peppermint(_this, options) {
447447

448448
//expose the API
449449
return {
450-
slideTo: function(slide) {
451-
return changeActiveSlide(parseInt(slide, 10));
450+
slideTo: function(slide, speed) {
451+
return changeActiveSlide(parseInt(slide, 10), speed);
452452
},
453453

454454
next: nextSlide,

dist/peppermint.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/pure/peppermint.pure.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*!
22
* Peppermint touch slider
3-
* v. 1.3.7 | https://github.com/wilddeer/Peppermint
3+
* v. 1.4.0 | https://github.com/wilddeer/Peppermint
44
* Copyright Oleg Korsunsky | http://wd.dizaina.net/
55
*
66
* Depends on Event Burrito | https://github.com/wilddeer/Event-Burrito
@@ -447,8 +447,8 @@ function Peppermint(_this, options) {
447447

448448
//expose the API
449449
return {
450-
slideTo: function(slide) {
451-
return changeActiveSlide(parseInt(slide, 10));
450+
slideTo: function(slide, speed) {
451+
return changeActiveSlide(parseInt(slide, 10), speed);
452452
},
453453

454454
next: nextSlide,

0 commit comments

Comments
 (0)