magnifierjs-rails 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  module Magnifierjs
2
2
  module Rails
3
- VERSION = "0.2.0"
3
+ VERSION = "0.2.1"
4
4
  end
5
5
  end
@@ -1,4 +1,8 @@
1
1
  $ ->
2
+ # preload all zoom-images
3
+ $('*[data-magnifierjs-zoomimage]').each (el) ->
4
+ $('<img/>')[0].src = $(this).data('magnifierjs-zoomimage')
5
+
2
6
  image = $("#magnifierjs-image")
3
7
  larW = 0
4
8
  larH = 0
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 0
9
- version: 0.2.0
8
+ - 1
9
+ version: 0.2.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Alexander Presber
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2013-11-15 00:00:00 +01:00
17
+ date: 2013-11-16 00:00:00 +01:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -55,7 +55,7 @@ dependencies:
55
55
  version: "0"
56
56
  type: :development
57
57
  version_requirements: *id003
58
- description: magnifying glass for images
58
+ description: simple magnifying glass for images
59
59
  email:
60
60
  - post@momolog.info
61
61
  executables: []