Skip to content

Commit

Permalink
Fix error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Frank Ludwig committed Apr 8, 2017
1 parent e73620a commit 9cfb941
Show file tree
Hide file tree
Showing 11 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@ CDN
---
::

<script src="https://cdnjs.cloudflare.com/ajax/libs/galleria/1.5.5/galleria.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/galleria/1.5.6/galleria.min.js"></script>

https://cdnjs.com/libraries/galleria
6 changes: 3 additions & 3 deletions dist/galleria.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Galleria v1.5.5 2017-02-28
* Galleria v1.5.6 2017-04-08
* http://galleria.io
*
* Copyright (c) 2010 - 2016 worse is better UG
Expand All @@ -21,7 +21,7 @@ var doc = window.document,
protoArray = Array.prototype,

// internal constants
VERSION = 1.55,
VERSION = 1.56,
DEBUG = true,
TIMEOUT = 30000,
DUMMY = false,
Expand Down Expand Up @@ -5685,7 +5685,7 @@ Galleria.addTheme = function( theme ) {

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

if ( typeof theme.defaults !== 'object' ) {
Expand Down
8 changes: 4 additions & 4 deletions dist/galleria.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/plugins/flickr/galleria.flickr.min.js

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

2 changes: 1 addition & 1 deletion dist/plugins/history/galleria.history.min.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Galleria - v1.5.5 2017-02-28
* Galleria - v1.5.6 2017-04-08
* https://galleria.io
*
* Copyright (c) 2010 - 2017 worse is better UG
Expand Down
2 changes: 1 addition & 1 deletion dist/plugins/picasa/galleria.picasa.min.js

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

4 changes: 2 additions & 2 deletions dist/themes/classic/classic-demo-cdn.html
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ <h1>Galleria Classic Theme</h1>
<!-- <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.js"></script> -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.js"></script>
<!-- load Galleria -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/galleria/1.5.5/galleria.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/galleria/1.5.5/themes/classic/galleria.classic.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/galleria/1.5.6/galleria.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/galleria/1.5.6/themes/classic/galleria.classic.min.js"></script>
<script>
$(function() {
Galleria.run('#galleria');
Expand Down
2 changes: 1 addition & 1 deletion dist/themes/classic/galleria.classic.min.js

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": "galleria",
"version": "1.5.5",
"version": "1.5.6",
"title": "Responsive JavaScript Image Gallery",
"description": "A free JavaScript image gallery framework that simplifies the process of creating beautiful image galleries for the web and mobile devices.",
"homepage": "https://galleria.io",
Expand Down
6 changes: 3 additions & 3 deletions src/galleria.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Galleria v1.5.5 2017-02-28
* Galleria v1.5.6 2017-04-08
* http://galleria.io
*
* Copyright (c) 2010 - 2016 worse is better UG
Expand All @@ -21,7 +21,7 @@ var doc = window.document,
protoArray = Array.prototype,

// internal constants
VERSION = 1.55,
VERSION = 1.56,
DEBUG = true,
TIMEOUT = 30000,
DUMMY = false,
Expand Down Expand Up @@ -5685,7 +5685,7 @@ Galleria.addTheme = function( theme ) {

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

if ( typeof theme.defaults !== 'object' ) {
Expand Down
4 changes: 2 additions & 2 deletions src/themes/classic/classic-demo-cdn.html
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ <h1>Galleria Classic Theme</h1>
<!-- <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.js"></script> -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.js"></script>
<!-- load Galleria -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/galleria/1.5.5/galleria.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/galleria/1.5.5/themes/classic/galleria.classic.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/galleria/1.5.6/galleria.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/galleria/1.5.6/themes/classic/galleria.classic.min.js"></script>
<script>
$(function() {
Galleria.run('#galleria');
Expand Down

0 comments on commit 9cfb941

Please sign in to comment.