Skip to content

Commit

Permalink
2.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
desandro committed Jan 3, 2021
1 parent 9977c48 commit fb96a24
Show file tree
Hide file tree
Showing 8 changed files with 38 additions and 38 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.2.1
/*! Flickity v2.2.2
https://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.2.1
/*! Flickity v2.2.2
https://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.

31 changes: 12 additions & 19 deletions dist/flickity.pkgd.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/*!
* Flickity PACKAGED v2.2.1
* Flickity PACKAGED v2.2.2
* Touch, responsive, flickable carousels
*
* Licensed GPLv3 for open source use
* or Flickity Commercial License for commercial use
*
* https://flickity.metafizzy.co
* Copyright 2015-2020 Metafizzy
* Copyright 2015-2021 Metafizzy
*/

/**
Expand Down Expand Up @@ -773,7 +773,6 @@ return utils;
// Flickity.Cell
( function( window, factory ) {
// universal module definition
/* jshint strict: false */
if ( typeof define == 'function' && define.amd ) {
// AMD
define( 'flickity/js/cell',[
Expand Down Expand Up @@ -822,6 +821,7 @@ proto.destroy = function() {
this.element.style.position = '';
var side = this.parent.originSide;
this.element.style[ side ] = '';
this.element.removeAttribute('aria-hidden');
};

proto.getSize = function() {
Expand Down Expand Up @@ -876,7 +876,6 @@ return Cell;
// slide
( function( window, factory ) {
// universal module definition
/* jshint strict: false */
if ( typeof define == 'function' && define.amd ) {
// AMD
define( 'flickity/js/slide',factory );
Expand Down Expand Up @@ -951,7 +950,6 @@ return Slide;
// animate
( function( window, factory ) {
// universal module definition
/* jshint strict: false */
if ( typeof define == 'function' && define.amd ) {
// AMD
define( 'flickity/js/animate',[
Expand Down Expand Up @@ -1156,7 +1154,6 @@ return proto;
/* eslint-disable max-params */
( function( window, factory ) {
// universal module definition
/* jshint strict: false */
if ( typeof define == 'function' && define.amd ) {
// AMD
define( 'flickity/js/flickity',[
Expand Down Expand Up @@ -1232,7 +1229,7 @@ function Flickity( element, options ) {
// do not initialize twice on same element
if ( this.element.flickityGUID ) {
var instance = instances[ this.element.flickityGUID ];
instance.option( options );
if ( instance ) instance.option( options );
return instance;
}

Expand Down Expand Up @@ -2392,7 +2389,7 @@ return Unipointer;
}));

/*!
* Unidragger v2.3.0
* Unidragger v2.3.1
* Draggable base class
* MIT license
*/
Expand Down Expand Up @@ -2482,7 +2479,11 @@ proto.pointerDown = function( event, pointer ) {
return;
}
// track start event position
this.pointerDownPointer = pointer;
// Safari 9 overrides pageX and pageY. These values needs to be copied. flickity#842
this.pointerDownPointer = {
pageX: pointer.pageX,
pageY: pointer.pageY,
};

event.preventDefault();
this.pointerDownBlur();
Expand Down Expand Up @@ -2674,7 +2675,6 @@ return Unidragger;
// drag
( function( window, factory ) {
// universal module definition
/* jshint strict: false */
if ( typeof define == 'function' && define.amd ) {
// AMD
define( 'flickity/js/drag',[
Expand Down Expand Up @@ -3073,7 +3073,6 @@ return Flickity;
// prev/next buttons
( function( window, factory ) {
// universal module definition
/* jshint strict: false */
if ( typeof define == 'function' && define.amd ) {
// AMD
define( 'flickity/js/prev-next-button',[
Expand Down Expand Up @@ -3285,7 +3284,6 @@ return Flickity;
// page dots
( function( window, factory ) {
// universal module definition
/* jshint strict: false */
if ( typeof define == 'function' && define.amd ) {
// AMD
define( 'flickity/js/page-dots',[
Expand Down Expand Up @@ -3474,7 +3472,6 @@ return Flickity;
// player & autoPlay
( function( window, factory ) {
// universal module definition
/* jshint strict: false */
if ( typeof define == 'function' && define.amd ) {
// AMD
define( 'flickity/js/player',[
Expand Down Expand Up @@ -3666,7 +3663,6 @@ return Flickity;
// add, remove cell
( function( window, factory ) {
// universal module definition
/* jshint strict: false */
if ( typeof define == 'function' && define.amd ) {
// AMD
define( 'flickity/js/add-remove-cell',[
Expand Down Expand Up @@ -3829,7 +3825,6 @@ return Flickity;
// lazyload
( function( window, factory ) {
// universal module definition
/* jshint strict: false */
if ( typeof define == 'function' && define.amd ) {
// AMD
define( 'flickity/js/lazyload',[
Expand Down Expand Up @@ -3964,19 +3959,18 @@ return Flickity;
} ) );

/*!
* Flickity v2.2.1
* Flickity v2.2.2
* Touch, responsive, flickable carousels
*
* Licensed GPLv3 for open source use
* or Flickity Commercial License for commercial use
*
* https://flickity.metafizzy.co
* Copyright 2015-2020 Metafizzy
* Copyright 2015-2021 Metafizzy
*/

( function( window, factory ) {
// universal module definition
/* jshint strict: false */
if ( typeof define == 'function' && define.amd ) {
// AMD
define( 'flickity/js/index',[
Expand All @@ -4002,7 +3996,6 @@ return Flickity;
}

} )( window, function factory( Flickity ) {
/* jshint strict: false*/
return Flickity;
} );

Expand Down
33 changes: 20 additions & 13 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.2.1
* Flickity v2.2.2
* Touch, responsive, flickable carousels
*
* Licensed GPLv3 for open source use
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

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

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.2.1",
"version": "2.2.2",
"description": "Touch, responsive, flickable carousels",
"main": "js/index.js",
"style": "css/flickity.css",
Expand Down

0 comments on commit fb96a24

Please sign in to comment.