From 80607e12542a1a54ecefa837649e862b35dffd25 Mon Sep 17 00:00:00 2001 From: Dmitry Semenov Date: Tue, 8 Jan 2019 16:43:53 +0200 Subject: [PATCH] 4.1.3 build --- LICENSE | 2 +- bower.json | 2 +- component.json | 2 +- dist/photoswipe-ui-default.js | 4 ++-- dist/photoswipe-ui-default.min.js | 4 ++-- dist/photoswipe.js | 18 +++++++++--------- dist/photoswipe.min.js | 6 +++--- photoswipe.json | 2 +- 8 files changed, 20 insertions(+), 20 deletions(-) diff --git a/LICENSE b/LICENSE index e9bdac9b0..5f8e6c87f 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2014-2016 Dmitry Semenov, http://dimsemenov.com +Copyright (c) 2014-2019 Dmitry Semenov, http://dimsemenov.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/bower.json b/bower.json index a0746686d..278e91e0f 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "photoswipe", - "homepage": "http://photoswipe.com", + "homepage": "https://photoswipe.com", "authors": [ "Dmitry Semenov (http://dimsemenov.com)" ], diff --git a/component.json b/component.json index 64757c408..231ce4f97 100644 --- a/component.json +++ b/component.json @@ -3,7 +3,7 @@ "repository": "dimsemenov/PhotoSwipe", "description": "JavaScript gallery", "main": "dist/photoswipe.js", - "version": "4.1.2", + "version": "4.1.3", "keywords": [ "gallery", "lightbox", diff --git a/dist/photoswipe-ui-default.js b/dist/photoswipe-ui-default.js index 9799dd457..f3733e1bc 100644 --- a/dist/photoswipe-ui-default.js +++ b/dist/photoswipe-ui-default.js @@ -1,6 +1,6 @@ -/*! PhotoSwipe Default UI - 4.1.2 - 2017-04-05 +/*! PhotoSwipe Default UI - 4.1.3 - 2019-01-08 * http://photoswipe.com -* Copyright (c) 2017 Dmitry Semenov; */ +* Copyright (c) 2019 Dmitry Semenov; */ /** * * UI on top of main sliding area (caption, arrows, close button, etc.). diff --git a/dist/photoswipe-ui-default.min.js b/dist/photoswipe-ui-default.min.js index 79115c5fc..ab7bedc76 100644 --- a/dist/photoswipe-ui-default.min.js +++ b/dist/photoswipe-ui-default.min.js @@ -1,4 +1,4 @@ -/*! PhotoSwipe Default UI - 4.1.2 - 2017-04-05 +/*! PhotoSwipe Default UI - 4.1.3 - 2019-01-08 * http://photoswipe.com -* Copyright (c) 2017 Dmitry Semenov; */ +* Copyright (c) 2019 Dmitry Semenov; */ !function(a,b){"function"==typeof define&&define.amd?define(b):"object"==typeof exports?module.exports=b():a.PhotoSwipeUI_Default=b()}(this,function(){"use strict";var a=function(a,b){var c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v=this,w=!1,x=!0,y=!0,z={barsSize:{top:44,bottom:"auto"},closeElClasses:["item","caption","zoom-wrap","ui","top-bar"],timeToIdle:4e3,timeToIdleOutside:1e3,loadingIndicatorDelay:1e3,addCaptionHTMLFn:function(a,b){return a.title?(b.children[0].innerHTML=a.title,!0):(b.children[0].innerHTML="",!1)},closeEl:!0,captionEl:!0,fullscreenEl:!0,zoomEl:!0,shareEl:!0,counterEl:!0,arrowEl:!0,preloaderEl:!0,tapToClose:!1,tapToToggleControls:!0,clickToCloseNonZoomable:!0,shareButtons:[{id:"facebook",label:"Share on Facebook",url:"https://www.facebook.com/sharer/sharer.php?u={{url}}"},{id:"twitter",label:"Tweet",url:"https://twitter.com/intent/tweet?text={{text}}&url={{url}}"},{id:"pinterest",label:"Pin it",url:"http://www.pinterest.com/pin/create/button/?url={{url}}&media={{image_url}}&description={{text}}"},{id:"download",label:"Download image",url:"{{raw_image_url}}",download:!0}],getImageURLForShare:function(){return a.currItem.src||""},getPageURLForShare:function(){return window.location.href},getTextForShare:function(){return a.currItem.title||""},indexIndicatorSep:" / ",fitControlsWidth:1200},A=function(a){if(r)return!0;a=a||window.event,q.timeToIdle&&q.mouseUsed&&!k&&K();for(var c,d,e=a.target||a.srcElement,f=e.getAttribute("class")||"",g=0;g-1&&(c.onTap(),d=!0);if(d){a.stopPropagation&&a.stopPropagation(),r=!0;var h=b.features.isOldAndroid?600:30;s=setTimeout(function(){r=!1},h)}},B=function(){return!a.likelyTouchDevice||q.mouseUsed||screen.width>q.fitControlsWidth},C=function(a,c,d){b[(d?"add":"remove")+"Class"](a,"pswp__"+c)},D=function(){var a=1===q.getNumItemsFn();a!==p&&(C(d,"ui--one-slide",a),p=a)},E=function(){C(i,"share-modal--hidden",y)},F=function(){return y=!y,y?(b.removeClass(i,"pswp__share-modal--fade-in"),setTimeout(function(){y&&E()},300)):(E(),setTimeout(function(){y||b.addClass(i,"pswp__share-modal--fade-in")},30)),y||H(),!1},G=function(b){b=b||window.event;var c=b.target||b.srcElement;return a.shout("shareLinkClick",b,c),!!c.href&&(!!c.hasAttribute("download")||(window.open(c.href,"pswp_share","scrollbars=yes,resizable=yes,toolbar=no,location=yes,width=550,height=420,top=100,left="+(window.screen?Math.round(screen.width/2-275):100)),y||F(),!1))},H=function(){for(var a,b,c,d,e,f="",g=0;g