retina_tag 1.1.7 → 1.1.8
Sign up to get free protection for your applications and to get access to all the features.
- data/app/assets/javascripts/retina_tag.js +5 -2
- data/lib/retina_tag/version.rb +1 -1
- metadata +4 -4
@@ -37,6 +37,9 @@ RetinaTag.refreshImage = function(image) {
|
|
37
37
|
image.src = lowDpiSrc;
|
38
38
|
}
|
39
39
|
};
|
40
|
+
if(window.devicePixelRatio !== undefined) {
|
41
|
+
RetinaTag.init();
|
42
|
+
$(document).ready(RetinaTag.updateImages);
|
43
|
+
}
|
44
|
+
|
40
45
|
|
41
|
-
RetinaTag.init();
|
42
|
-
$(document).ready(RetinaTag.updateImages);
|
data/lib/retina_tag/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: retina_tag
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.8
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-02-11 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -75,7 +75,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
75
75
|
version: '0'
|
76
76
|
segments:
|
77
77
|
- 0
|
78
|
-
hash: -
|
78
|
+
hash: -125970782968344186
|
79
79
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
80
80
|
none: false
|
81
81
|
requirements:
|
@@ -84,7 +84,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
84
84
|
version: '0'
|
85
85
|
segments:
|
86
86
|
- 0
|
87
|
-
hash: -
|
87
|
+
hash: -125970782968344186
|
88
88
|
requirements: []
|
89
89
|
rubyforge_project:
|
90
90
|
rubygems_version: 1.8.24
|