Skip to content

Commit

Permalink
👷 build v2.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
desandro committed Oct 18, 2016
1 parent 9600348 commit 370df67
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 10 deletions.
2 changes: 1 addition & 1 deletion css/flickity.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Flickity v2.0.4
/*! Flickity v2.0.5
http://flickity.metafizzy.co
---------------------------------------------- */

Expand Down
2 changes: 1 addition & 1 deletion dist/flickity.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Flickity v2.0.4
/*! Flickity v2.0.5
http://flickity.metafizzy.co
---------------------------------------------- */

Expand Down
2 changes: 1 addition & 1 deletion dist/flickity.min.css

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

14 changes: 12 additions & 2 deletions dist/flickity.pkgd.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Flickity PACKAGED v2.0.4
* Flickity PACKAGED v2.0.5
* Touch, responsive, flickable carousels
*
* Licensed GPLv3 for open source use
Expand Down Expand Up @@ -2646,11 +2646,20 @@ utils.extend( proto, Unidragger.prototype );

// -------------------------- -------------------------- //

var isTouch = 'createTouch' in document;
var isTouchmoveScrollCanceled = false;

proto._createDrag = function() {
this.on( 'activate', this.bindDrag );
this.on( 'uiChange', this._uiChangeDrag );
this.on( 'childUIPointerDown', this._childUIPointerDownDrag );
this.on( 'deactivate', this.unbindDrag );
// HACK - add seemingly innocuous handler to fix iOS 10 scroll behavior
// #457, RubaXa/Sortable#973
if ( isTouch && !isTouchmoveScrollCanceled ) {
window.addEventListener( 'touchmove', function() {});
isTouchmoveScrollCanceled = true;
}
};

proto.bindDrag = function() {
Expand Down Expand Up @@ -2789,6 +2798,7 @@ proto.pointerDone = function() {
proto.dragStart = function( event, pointer ) {
this.dragStartPosition = this.x;
this.startAnimation();
window.removeEventListener( 'scroll', this );
this.dispatchEvent( 'dragStart', event, [ pointer ] );
};

Expand Down Expand Up @@ -4000,7 +4010,7 @@ return Flickity;
}));

/*!
* Flickity v2.0.4
* Flickity v2.0.5
* Touch, responsive, flickable carousels
*
* Licensed GPLv3 for open source use
Expand Down
6 changes: 3 additions & 3 deletions dist/flickity.pkgd.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Flickity v2.0.4
* Flickity v2.0.5
* Touch, responsive, flickable carousels
*
* Licensed GPLv3 for open source use
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": "flickity",
"version": "2.0.4",
"version": "2.0.5",
"description": "Touch, responsive, flickable carousels",
"main": "js/index.js",
"style": "css/flickity.css",
Expand Down

0 comments on commit 370df67

Please sign in to comment.