From 68882ad206f88ffe9f343919aa0dabb42a0d8a42 Mon Sep 17 00:00:00 2001 From: Frank Ludwig Date: Fri, 13 Jan 2017 18:07:44 +0100 Subject: [PATCH] Fix distribution --- README.rst | 2 +- dist/galleria.js | 4 ++-- dist/galleria.min.js | 6 +++--- dist/plugins/flickr/galleria.flickr.min.js | 4 ++-- dist/plugins/history/galleria.history.min.js | 4 ++-- dist/plugins/picasa/galleria.picasa.min.js | 4 ++-- dist/themes/classic/classic-demo-cdn.html | 4 ++-- dist/themes/classic/galleria.classic.min.js | 4 ++-- package.json | 2 +- src/galleria.js | 4 ++-- src/themes/classic/classic-demo-cdn.html | 4 ++-- 11 files changed, 21 insertions(+), 21 deletions(-) diff --git a/README.rst b/README.rst index a55b05a1..0fa8f005 100644 --- a/README.rst +++ b/README.rst @@ -41,6 +41,6 @@ CDN --- :: - + https://cdnjs.com/libraries/galleria diff --git a/dist/galleria.js b/dist/galleria.js index 38013d84..c31d4f70 100644 --- a/dist/galleria.js +++ b/dist/galleria.js @@ -1,5 +1,5 @@ /** - * Galleria v1.5.1 2016-12-08 + * Galleria v1.5.2 2017-01-13 * http://galleria.io * * Copyright (c) 2010 - 2016 worse is better UG @@ -21,7 +21,7 @@ var doc = window.document, protoArray = Array.prototype, // internal constants - VERSION = 1.51, + VERSION = 1.52, DEBUG = true, TIMEOUT = 30000, DUMMY = false, diff --git a/dist/galleria.min.js b/dist/galleria.min.js index 78a86eba..a2bc1736 100644 --- a/dist/galleria.min.js +++ b/dist/galleria.min.js @@ -1,13 +1,13 @@ /** - * Galleria - v1.5.1 2016-12-08 + * Galleria - v1.5.2 2017-01-13 * https://galleria.io * - * Copyright (c) 2010 - 2016 worse is better UG + * Copyright (c) 2010 - 2017 worse is better UG * Licensed under the MIT License. * https://raw.github.com/worseisbetter/galleria/master/LICENSE * */ -!function(a,b,c,d){var e=b.document,f=a(e),g=a(b),h=Array.prototype,i=1.51,j=!0,k=3e4,l=!1,m=navigator.userAgent.toLowerCase(),n=b.location.hash.replace(/#\//,""),o="file:"==b.location.protocol?"http:":b.location.protocol,p=Math,q=function(){},r=function(){return!1},s=function(){var a=3,b=e.createElement("div"),c=b.getElementsByTagName("i");do b.innerHTML="";while(c[0]);return a>4?a:e.documentMode||d}(),t=function(){return{html:e.documentElement,body:e.body,head:e.getElementsByTagName("head")[0],title:e.title}},u=b.parent!==b.self,v="data ready thumbnail loadstart loadfinish image play pause progress fullscreen_enter fullscreen_exit idle_enter idle_exit rescale lightbox_open lightbox_close lightbox_image",w=function(){var b=[];return a.each(v.split(" "),function(a,c){b.push(c),/_/.test(c)&&b.push(c.replace(/_/g,""))}),b}(),x=function(b){var c;return"object"!=typeof b?b:(a.each(b,function(d,e){/^[a-z]+_/.test(d)&&(c="",a.each(d.split("_"),function(a,b){c+=a>0?b.substr(0,1).toUpperCase()+b.substr(1):b}),b[c]=e,delete b[d])}),b)},y=function(b){return a.inArray(b,w)>-1?c[b.toUpperCase()]:b},z={youtube:{reg:/https?:\/\/(?:[a-zA_Z]{2,3}.)?(?:youtube\.com\/watch\?)((?:[\w\d\-\_\=]+&(?:amp;)?)*v(?:<[A-Z]+>)?=([0-9a-zA-Z\-\_]+))/i,embed:function(){return o+"//www.youtube.com/embed/"+this.id},get_thumb:function(a){return o+"//img.youtube.com/vi/"+this.id+"/default.jpg"},get_image:function(a){return o+"//img.youtube.com/vi/"+this.id+"/hqdefault.jpg"}},vimeo:{reg:/https?:\/\/(?:www\.)?(vimeo\.com)\/(?:hd#)?([0-9]+)/i,embed:function(){return o+"//player.vimeo.com/video/"+this.id},getUrl:function(){return o+"//vimeo.com/api/v2/video/"+this.id+".json?callback=?"},get_thumb:function(a){return a[0].thumbnail_medium},get_image:function(a){return a[0].thumbnail_large}},dailymotion:{reg:/https?:\/\/(?:www\.)?(dailymotion\.com)\/video\/([^_]+)/,embed:function(){return o+"//www.dailymotion.com/embed/video/"+this.id},getUrl:function(){return"https://api.dailymotion.com/video/"+this.id+"?fields=thumbnail_240_url,thumbnail_720_url&callback=?"},get_thumb:function(a){return a.thumbnail_240_url},get_image:function(a){return a.thumbnail_720_url}},_inst:[]},A=function(c,d){for(var e=0;e=h+d.timeout?(d.error(),!1):void c._waiters.push(g=b.setTimeout(i,10))};c._waiters.push(g=b.setTimeout(i,10))},toggleQuality:function(a,b){7!==s&&8!==s||!a||"IMG"!=a.nodeName.toUpperCase()||("undefined"==typeof b&&(b="nearest-neighbor"===a.style.msInterpolationMode),a.style.msInterpolationMode=b?"bicubic":"nearest-neighbor")},insertStyleTag:function(b,c){if(!c||!a("#"+c).length){var d=e.createElement("style");if(c&&(d.id=c),t().head.appendChild(d),d.styleSheet)d.styleSheet.cssText=b;else{var f=e.createTextNode(b);d.appendChild(f)}}},loadScript:function(b,c){var d=!1,e=a(" - - + + - - + +