Skip to content

Commit 91121c8

Browse files
author
Frank Ludwig
committed
Update dist
1 parent 76a1564 commit 91121c8

File tree

13 files changed

+30
-28
lines changed

13 files changed

+30
-28
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,6 @@ CDN
4141
---
4242
::
4343

44-
<script src="https://cdnjs.cloudflare.com/ajax/libs/galleria/1.5.0/galleria.min.js"></script>
44+
<script src="https://cdnjs.cloudflare.com/ajax/libs/galleria/1.5.1/galleria.min.js"></script>
4545

4646
https://cdnjs.com/libraries/galleria

dist/galleria.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Galleria v1.4.7 2016-09-17
2+
* Galleria v1.5.1 2016-12-08
33
* http://galleria.io
44
*
55
* Copyright (c) 2010 - 2016 worse is better UG
@@ -21,7 +21,7 @@ var doc = window.document,
2121
protoArray = Array.prototype,
2222

2323
// internal constants
24-
VERSION = 1.47,
24+
VERSION = 1.51,
2525
DEBUG = true,
2626
TIMEOUT = 30000,
2727
DUMMY = false,
@@ -5780,7 +5780,7 @@ Galleria.loadTheme = function( src, options ) {
57805780
err;
57815781

57825782
// start listening for the timeout onload
5783-
$( window ).load( function() {
5783+
$( window ).on('load', function() {
57845784
if ( !loaded ) {
57855785
// give it another 20 seconds
57865786
err = window.setTimeout(function() {
@@ -6157,7 +6157,7 @@ Galleria.Picture.prototype = {
61576157
*/
61586158

61596159
preload: function( src ) {
6160-
$( new Image() ).load((function(src, cache) {
6160+
$( new Image() ).on( 'load', (function(src, cache) {
61616161
return function() {
61626162
cache[ src ] = src;
61636163
};
@@ -6201,7 +6201,7 @@ Galleria.Picture.prototype = {
62016201

62026202
this.container.appendChild( this.image );
62036203

6204-
$('#'+id).load( (function( self, callback ) {
6204+
$('#'+id).on( 'load', (function( self, callback ) {
62056205
return function() {
62066206
window.setTimeout(function() {
62076207
$( self.image ).css( 'visibility', 'visible' );
@@ -6298,7 +6298,7 @@ Galleria.Picture.prototype = {
62986298
},
62996299
error: function() {
63006300
if ( !resort ) {
6301-
$(new Image()).load( onload ).attr( 'src', img.src );
6301+
$(new Image()).on( 'load', onload ).attr( 'src', img.src );
63026302
resort = true;
63036303
} else {
63046304
Galleria.raise('Could not extract width/height from image: ' + img.src +
@@ -6329,7 +6329,7 @@ Galleria.Picture.prototype = {
63296329
});
63306330

63316331
// begin load and insert in cache when done
6332-
$image.load( onload ).on( 'error', onerror ).attr( 'src', src );
6332+
$image.on( 'load', onload ).on( 'error', onerror ).attr( 'src', src );
63336333

63346334
// return the container
63356335
return this.container;

dist/galleria.min.js

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/plugins/flickr/galleria.flickr.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/plugins/history/galleria.history.min.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Galleria - v1.4.7 2016-09-17
2+
* Galleria - v1.5.1 2016-12-08
33
* https://galleria.io
44
*
55
* Copyright (c) 2010 - 2016 worse is better UG

dist/plugins/picasa/galleria.picasa.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/plugins/picasa/picasa-demo.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html lang="en">
33
<head>
44
<meta charset="utf-8">
5-
<title>Galleria Flickr Plugin</title>
5+
<title>Galleria Picasa Plugin</title>
66
<style>
77

88
/* Demo styles */

dist/themes/classic/classic-demo-cdn.html

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ <h1>Galleria Classic Theme</h1>
102102
<a href="https://vimeo.com/25750735">
103103
<span class="video">Works for vimeo too.</span>
104104
</a>
105-
<a href="https://www.youtube.com/watch?v=gAeYCJZ_meY">
105+
<a href="https://www.youtube.com/watch?v=GOD-RyVB-3Q">
106106
<span class="video">Works for youtube too.</span>
107107
</a>
108108

@@ -111,10 +111,11 @@ <h1>Galleria Classic Theme</h1>
111111
</div>
112112

113113
<!-- load jQuery -->
114-
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js"></script>
114+
<!-- <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.js"></script> -->
115+
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.js"></script>
115116
<!-- load Galleria -->
116-
<script src="https://cdnjs.cloudflare.com/ajax/libs/galleria/1.4.7/galleria.min.js"></script>
117-
<script src="https://cdnjs.cloudflare.com/ajax/libs/galleria/1.4.7/themes/classic/galleria.classic.min.js"></script>
117+
<script src="https://cdnjs.cloudflare.com/ajax/libs/galleria/1.5.1/galleria.min.js"></script>
118+
<script src="https://cdnjs.cloudflare.com/ajax/libs/galleria/1.5.1/themes/classic/galleria.classic.min.js"></script>
118119
<script>
119120
$(function() {
120121
Galleria.run('#galleria');

dist/themes/classic/classic-demo.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
</style>
2121

2222
<!-- load jQuery -->
23-
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js"></script>
23+
<!-- <script src="http://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.js"></script> -->
24+
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.js"></script>
2425

2526
<!-- load Galleria -->
2627
<script src="../../galleria.js"></script>
@@ -109,7 +110,7 @@ <h1>Galleria Classic Theme</h1>
109110
<a href="https://vimeo.com/25750735">
110111
<span class="video">Works for vimeo too.</span>
111112
</a>
112-
<a href="https://www.youtube.com/watch?v=gAeYCJZ_meY">
113+
<a href="https://www.youtube.com/watch?v=GOD-RyVB-3Q">
113114
<span class="video">Works for youtube too.</span>
114115
</a>
115116

dist/themes/classic/galleria.classic.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "galleria",
3-
"version": "1.5.0",
3+
"version": "1.5.1",
44
"title": "Responsive JavaScript Image Gallery",
55
"description": "A free JavaScript image gallery framework that simplifies the process of creating beautiful image galleries for the web and mobile devices.",
66
"homepage": "https://galleria.io",

src/galleria.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Galleria v1.5.0 2016-12-07
2+
* Galleria v1.5.1 2016-12-08
33
* http://galleria.io
44
*
55
* Copyright (c) 2010 - 2016 worse is better UG
@@ -21,7 +21,7 @@ var doc = window.document,
2121
protoArray = Array.prototype,
2222

2323
// internal constants
24-
VERSION = 1.50,
24+
VERSION = 1.51,
2525
DEBUG = true,
2626
TIMEOUT = 30000,
2727
DUMMY = false,

src/themes/classic/classic-demo-cdn.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ <h1>Galleria Classic Theme</h1>
114114
<!-- <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.js"></script> -->
115115
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.js"></script>
116116
<!-- load Galleria -->
117-
<script src="https://cdnjs.cloudflare.com/ajax/libs/galleria/1.5.0/galleria.min.js"></script>
118-
<script src="https://cdnjs.cloudflare.com/ajax/libs/galleria/1.5.0/themes/classic/galleria.classic.min.js"></script>
117+
<script src="https://cdnjs.cloudflare.com/ajax/libs/galleria/1.5.1/galleria.min.js"></script>
118+
<script src="https://cdnjs.cloudflare.com/ajax/libs/galleria/1.5.1/themes/classic/galleria.classic.min.js"></script>
119119
<script>
120120
$(function() {
121121
Galleria.run('#galleria');

0 commit comments

Comments
 (0)