openseadragon 0.7.0 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/openseadragon/rails.js +5 -2
- data/lib/openseadragon/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8d2b4c84da4c039322fa16dd73d8c87f4036d7e16c32d73d42febf1721f309a8
|
4
|
+
data.tar.gz: 61aa2f0266974e33c7a047a79dda95ecb0636c67ab15f6083b8b96c71c9f14c4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: db5a685f62b18680bff97b257254a71ab37c2de16713e08add72e1ff327d2b982913ddaf7d0e03035cd2d4ef5ea2f1aa570eab80903ce8bae00a692e046b25a9
|
7
|
+
data.tar.gz: 7d5b4b98750b6aa36cecf7b82feb6660d7312d353770e23044243803f27d96dc9c0069112ad664b3425befc8367497cd62262cbe5af408601b92804c946b3bc6
|
@@ -2,12 +2,15 @@
|
|
2
2
|
|
3
3
|
(function($) {
|
4
4
|
function initOpenSeadragon() {
|
5
|
-
$('picture[data-openseadragon]').openseadragon();
|
5
|
+
$('picture[data-openseadragon]:not(:has(.openseadragon-container))').openseadragon();
|
6
6
|
}
|
7
7
|
|
8
8
|
const jquery3 = parseInt($.fn.jquery.split('.')[0]) >= 3;
|
9
9
|
let handler = 'ready';
|
10
|
-
|
10
|
+
|
11
|
+
if (typeof Turbo !== 'undefined') {
|
12
|
+
handler = 'turbo:load turbo:frame-load';
|
13
|
+
} else if (typeof Turbolinks !== 'undefined' && Turbolinks.supported) {
|
11
14
|
// Turbolinks 5
|
12
15
|
if (Turbolinks.BrowserAdapter) {
|
13
16
|
handler = 'turbolinks:load';
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: openseadragon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Coyne
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2024-08
|
13
|
+
date: 2024-10-08 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: bundler
|
@@ -209,7 +209,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
209
209
|
- !ruby/object:Gem::Version
|
210
210
|
version: '0'
|
211
211
|
requirements: []
|
212
|
-
rubygems_version: 3.
|
212
|
+
rubygems_version: 3.4.19
|
213
213
|
signing_key:
|
214
214
|
specification_version: 4
|
215
215
|
summary: OpenSeadragon assets and helpers for Rails. http://openseadragon.github.io/
|