openseadragon 0.3.0 → 0.3.1
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 +13 -1
- data/lib/openseadragon/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ce3ebd709c89fd89d07115269d48750dd7a3effe
|
4
|
+
data.tar.gz: 84b84221757261ae53acd7576f35f415654848cf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd13ddadfae99e261fd50fe7b98706ba42c525b525a66b31fc4c0ae19bb2b279c5096dc58c5181c995c3ee23f6d7642cdce5333b95dc283bfed3dd41b6ac43cc
|
7
|
+
data.tar.gz: 0e7bb1716d8ad0c8d9020d2c129a99a4fd73bb35c6978ab7442a204cbabc7a49d2b2e8b42439d93d346f8365746c00bcd51e53ebeea7a57333394e4dd3221537
|
@@ -7,4 +7,16 @@
|
|
7
7
|
|
8
8
|
$(document).on('page:load', initOpenSeadragon);
|
9
9
|
$(document).ready(initOpenSeadragon);
|
10
|
-
|
10
|
+
|
11
|
+
var handler = 'ready';
|
12
|
+
if (typeof Turbolinks !== 'undefined' && Turbolinks.supported) {
|
13
|
+
// Turbolinks 5
|
14
|
+
if (Turbolinks.BrowserAdapter) {
|
15
|
+
handler = 'turbolinks:load';
|
16
|
+
} else {
|
17
|
+
// Turbolinks < 5
|
18
|
+
handler = 'page:load ready';
|
19
|
+
}
|
20
|
+
}
|
21
|
+
$(document).on(handler, initOpenSeadragon);
|
22
|
+
})(jQuery);
|
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.3.
|
4
|
+
version: 0.3.1
|
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: 2016-
|
13
|
+
date: 2016-11-05 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: bundler
|