openseadragon 1.0.5 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/helpers/openseadragon/openseadragon_helper.rb +32 -32
- data/config/importmap.rb +1 -2
- data/lib/openseadragon/engine.rb +0 -4
- data/lib/openseadragon/version.rb +1 -1
- data/package.json +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5fff2d6d10333ce5c7173d77c06ee9a988d0f77cb2af55117dea87e6baf4541c
|
4
|
+
data.tar.gz: 83a7cbf3c2569458ab783bc4ce832caf28126c1afe98ddc5935d98040832844a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5c6a658736c966fc5c0161a1d01570fb6d00df53fee4059d78736d50f115d0f8dd9e6dd2a62e322cea8745da8e32281ed8d69839fbbe39335d3ce80d112ceccb
|
7
|
+
data.tar.gz: 1dc336da4a5ca9b9aecfdbc93a5da373bc6ed4bf60d6bb52aa769effc3a5ace14a6109e4029b13747db136461521e03b7b55fad2f75a2bfa0e1c5d437434cf9a
|
@@ -129,52 +129,52 @@ module Openseadragon
|
|
129
129
|
prefixUrl: '',
|
130
130
|
navImages: {
|
131
131
|
zoomIn: {
|
132
|
-
REST:
|
133
|
-
GROUP:
|
134
|
-
HOVER:
|
135
|
-
DOWN:
|
132
|
+
REST: osd_asset('zoomin_rest.png'),
|
133
|
+
GROUP: osd_asset('zoomin_grouphover.png'),
|
134
|
+
HOVER: osd_asset('zoomin_hover.png'),
|
135
|
+
DOWN: osd_asset('zoomin_pressed.png')
|
136
136
|
},
|
137
137
|
zoomOut: {
|
138
|
-
REST:
|
139
|
-
GROUP:
|
140
|
-
HOVER:
|
141
|
-
DOWN:
|
138
|
+
REST: osd_asset('zoomout_rest.png'),
|
139
|
+
GROUP: osd_asset('zoomout_grouphover.png'),
|
140
|
+
HOVER: osd_asset('zoomout_hover.png'),
|
141
|
+
DOWN: osd_asset('zoomout_pressed.png')
|
142
142
|
},
|
143
143
|
home: {
|
144
|
-
REST:
|
145
|
-
GROUP:
|
146
|
-
HOVER:
|
147
|
-
DOWN:
|
144
|
+
REST: osd_asset('home_rest.png'),
|
145
|
+
GROUP: osd_asset('home_grouphover.png'),
|
146
|
+
HOVER: osd_asset('home_hover.png'),
|
147
|
+
DOWN: osd_asset('home_pressed.png')
|
148
148
|
},
|
149
149
|
fullpage: {
|
150
|
-
REST:
|
151
|
-
GROUP:
|
152
|
-
HOVER:
|
153
|
-
DOWN:
|
150
|
+
REST: osd_asset('fullpage_rest.png'),
|
151
|
+
GROUP: osd_asset('fullpage_grouphover.png'),
|
152
|
+
HOVER: osd_asset('fullpage_hover.png'),
|
153
|
+
DOWN: osd_asset('fullpage_pressed.png')
|
154
154
|
},
|
155
155
|
rotateleft: {
|
156
|
-
REST:
|
157
|
-
GROUP:
|
158
|
-
HOVER:
|
159
|
-
DOWN:
|
156
|
+
REST: osd_asset('rotateleft_rest.png'),
|
157
|
+
GROUP: osd_asset('rotateleft_grouphover.png'),
|
158
|
+
HOVER: osd_asset('rotateleft_hover.png'),
|
159
|
+
DOWN: osd_asset('rotateleft_pressed.png')
|
160
160
|
},
|
161
161
|
rotateright: {
|
162
|
-
REST:
|
163
|
-
GROUP:
|
164
|
-
HOVER:
|
165
|
-
DOWN:
|
162
|
+
REST: osd_asset('rotateright_rest.png'),
|
163
|
+
GROUP: osd_asset('rotateright_grouphover.png'),
|
164
|
+
HOVER: osd_asset('rotateright_hover.png'),
|
165
|
+
DOWN: osd_asset('rotateright_pressed.png')
|
166
166
|
},
|
167
167
|
previous: {
|
168
|
-
REST:
|
169
|
-
GROUP:
|
170
|
-
HOVER:
|
171
|
-
DOWN:
|
168
|
+
REST: osd_asset('previous_rest.png'),
|
169
|
+
GROUP: osd_asset('previous_grouphover.png'),
|
170
|
+
HOVER: osd_asset('previous_hover.png'),
|
171
|
+
DOWN: osd_asset('previous_pressed.png')
|
172
172
|
},
|
173
173
|
next: {
|
174
|
-
REST:
|
175
|
-
GROUP:
|
176
|
-
HOVER:
|
177
|
-
DOWN:
|
174
|
+
REST: osd_asset('next_rest.png'),
|
175
|
+
GROUP: osd_asset('next_grouphover.png'),
|
176
|
+
HOVER: osd_asset('next_hover.png'),
|
177
|
+
DOWN: osd_asset('next_pressed.png')
|
178
178
|
}
|
179
179
|
}
|
180
180
|
}.with_indifferent_access
|
data/config/importmap.rb
CHANGED
@@ -1,4 +1,3 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
pin_all_from File.expand_path('../app/assets/javascripts/openseadragon', __dir__), under: 'openseadragon'
|
4
|
-
pin_all_from File.expand_path('../vendor/assets/javascripts', __dir__)
|
3
|
+
pin_all_from File.expand_path('../app/assets/javascripts/openseadragon', __dir__), under: 'openseadragon-rails'
|
data/lib/openseadragon/engine.rb
CHANGED
@@ -14,10 +14,6 @@ module Openseadragon
|
|
14
14
|
end
|
15
15
|
end
|
16
16
|
|
17
|
-
initializer 'openseadragon.assets.precompile' do |app|
|
18
|
-
app.config.assets.precompile += %w[node_modules/openseadragon/build/openseadragon/images/*.png]
|
19
|
-
end
|
20
|
-
|
21
17
|
initializer "openseadragon.importmap", before: "importmap" do |app|
|
22
18
|
app.config.importmap.paths << Engine.root.join("config/importmap.rb") if app.config.respond_to?(:importmap)
|
23
19
|
end
|
data/package.json
CHANGED