Skip to content

Commit 9cfb941

Browse files
author
Frank Ludwig
committed
Fix error message
1 parent e73620a commit 9cfb941

File tree

11 files changed

+20
-20
lines changed

11 files changed

+20
-20
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.5/galleria.min.js"></script>
44+
<script src="https://cdnjs.cloudflare.com/ajax/libs/galleria/1.5.6/galleria.min.js"></script>
4545

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

dist/galleria.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Galleria v1.5.5 2017-02-28
2+
* Galleria v1.5.6 2017-04-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.55,
24+
VERSION = 1.56,
2525
DEBUG = true,
2626
TIMEOUT = 30000,
2727
DUMMY = false,
@@ -5685,7 +5685,7 @@ Galleria.addTheme = function( theme ) {
56855685

56865686
// make sure it's compatible
56875687
if ( !theme.version || parseInt(Galleria.version*10) > parseInt(theme.version*10) ) {
5688-
Galleria.raise('This version of Galleria requires '+theme.name+' theme version '+Galleria.version.toFixed(1)+' or later', true);
5688+
Galleria.raise('This version of Galleria requires '+theme.name+' theme version '+parseInt(Galleria.version*10)/10+' or later', true);
56895689
}
56905690

56915691
if ( typeof theme.defaults !== 'object' ) {

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.5.5 2017-02-28
2+
* Galleria - v1.5.6 2017-04-08
33
* https://galleria.io
44
*
55
* Copyright (c) 2010 - 2017 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/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.5/galleria.min.js"></script>
118-
<script src="https://cdnjs.cloudflare.com/ajax/libs/galleria/1.5.5/themes/classic/galleria.classic.min.js"></script>
117+
<script src="https://cdnjs.cloudflare.com/ajax/libs/galleria/1.5.6/galleria.min.js"></script>
118+
<script src="https://cdnjs.cloudflare.com/ajax/libs/galleria/1.5.6/themes/classic/galleria.classic.min.js"></script>
119119
<script>
120120
$(function() {
121121
Galleria.run('#galleria');

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.5",
3+
"version": "1.5.6",
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: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Galleria v1.5.5 2017-02-28
2+
* Galleria v1.5.6 2017-04-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.55,
24+
VERSION = 1.56,
2525
DEBUG = true,
2626
TIMEOUT = 30000,
2727
DUMMY = false,
@@ -5685,7 +5685,7 @@ Galleria.addTheme = function( theme ) {
56855685

56865686
// make sure it's compatible
56875687
if ( !theme.version || parseInt(Galleria.version*10) > parseInt(theme.version*10) ) {
5688-
Galleria.raise('This version of Galleria requires '+theme.name+' theme version '+Galleria.version.toFixed(1)+' or later', true);
5688+
Galleria.raise('This version of Galleria requires '+theme.name+' theme version '+parseInt(Galleria.version*10)/10+' or later', true);
56895689
}
56905690

56915691
if ( typeof theme.defaults !== 'object' ) {

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.5/galleria.min.js"></script>
118-
<script src="https://cdnjs.cloudflare.com/ajax/libs/galleria/1.5.5/themes/classic/galleria.classic.min.js"></script>
117+
<script src="https://cdnjs.cloudflare.com/ajax/libs/galleria/1.5.6/galleria.min.js"></script>
118+
<script src="https://cdnjs.cloudflare.com/ajax/libs/galleria/1.5.6/themes/classic/galleria.classic.min.js"></script>
119119
<script>
120120
$(function() {
121121
Galleria.run('#galleria');

0 commit comments

Comments
 (0)