lightbox2 2.11.1.1 → 2.11.3
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ea407e1dda07a26a65941114b36bf194b52b660ac3dbd64a9f7b8fa9e6c21da9
|
4
|
+
data.tar.gz: 25a34b1d0e268e9f0c4d206a5e2e0c2d2c862882d7e73b2d1ba1e4d18e593de4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f0c212d160249f7c7e5f65b9922e1bd417aa357acab6a630127048b7c2a03c1698b92bc0d66dc9bf706678cce0b86c0d5be4171332e8c8131dc4d7f58f91fe6f
|
7
|
+
data.tar.gz: 62897c2b29f162a789b5380a8c98982374a5683a4243981e98e7250d15a9bc854f37dbb7ab63639e3f376b66774ca79b1c8307c9c2825a14c1a3a02b9e79cd47
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* Lightbox v2.11.
|
2
|
+
* Lightbox v2.11.3
|
3
3
|
* by Lokesh Dhakar
|
4
4
|
*
|
5
5
|
* More info:
|
@@ -314,18 +314,13 @@
|
|
314
314
|
maxImageHeight = windowHeight - self.containerPadding.top - self.containerPadding.bottom - self.imageBorderWidth.top - self.imageBorderWidth.bottom - self.options.positionFromTop - 70;
|
315
315
|
|
316
316
|
/*
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
https://github.com/lokesh/lightbox2/issues/552
|
317
|
+
Since many SVGs have small intrinsic dimensions, but they support scaling
|
318
|
+
up without quality loss because of their vector format, max out their
|
319
|
+
size.
|
322
320
|
*/
|
323
|
-
|
324
321
|
if (filetype === 'svg') {
|
325
|
-
|
326
|
-
|
327
|
-
$image.height(maxImageHeight);
|
328
|
-
}
|
322
|
+
$image.width(maxImageWidth);
|
323
|
+
$image.height(maxImageHeight);
|
329
324
|
}
|
330
325
|
|
331
326
|
// Fit image inside the viewport.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lightbox2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.11.
|
4
|
+
version: 2.11.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Manuel Schnitzer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-02-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jquery-rails
|
@@ -37,10 +37,14 @@ files:
|
|
37
37
|
- lib/lightbox2/rails.rb
|
38
38
|
- lib/lightbox2/rails/engine.rb
|
39
39
|
- lib/lightbox2/rails/version.rb
|
40
|
+
- vendor/assets/images/close.png
|
40
41
|
- vendor/assets/images/lightbox2/close.png
|
41
42
|
- vendor/assets/images/lightbox2/loading.gif
|
42
43
|
- vendor/assets/images/lightbox2/next.png
|
43
44
|
- vendor/assets/images/lightbox2/prev.png
|
45
|
+
- vendor/assets/images/loading.gif
|
46
|
+
- vendor/assets/images/next.png
|
47
|
+
- vendor/assets/images/prev.png
|
44
48
|
- vendor/assets/javascripts/lightbox2.js
|
45
49
|
- vendor/assets/stylesheets/lightbox2.scss
|
46
50
|
homepage: https://github.com/mschnitzer/lightbox2-rubygem
|
@@ -63,7 +67,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
63
67
|
version: '0'
|
64
68
|
requirements: []
|
65
69
|
rubyforge_project:
|
66
|
-
rubygems_version: 2.7.
|
70
|
+
rubygems_version: 2.7.6.2
|
67
71
|
signing_key:
|
68
72
|
specification_version: 4
|
69
73
|
summary: lightbox2 for Ruby on Rails
|