thin_man 0.8.4 → 0.8.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bef93171ef5ee03ec82ded0ecfe46a02be70e89d
4
- data.tar.gz: b4ebca8fe977a2166f3adda3f1d335c0d03f990e
3
+ metadata.gz: 0acfae1fe913e5c7c201735cd90a400ae88b3f17
4
+ data.tar.gz: 97ba139666a3ed708dc7975d8e29bb907bf0f168
5
5
  SHA512:
6
- metadata.gz: ed0134d37c0f1600ddba95674a0e87103e1c848e83ca87965db6b1f43bd0d4f3bbb5c4439d05f0c23a04d6f16d75d89cff5bee54245da69969644d34dddf6315
7
- data.tar.gz: 2066daf34ee9a3248955fdc3dbeed62c6a4cfa68361258425c38a753074f0635a9abbc31128652e3f6896cecc40d14baaf04111dff8e2a5e9669b071a2841b59
6
+ metadata.gz: c40dde744704ad148ec024241a7fc714a0befe63d96e60cacfb98cd57fc0b0db1194426ec3dead720f90211873c7122f6d327ba1660f31314fd3f409276d4438
7
+ data.tar.gz: 6b963872f2c9c64fcae4c72c0b9331e6ebbe6be84d82d57d9b6f52ef081b59909806385dfd32dc45fd45fee4984c58d3184ef22a1b5748ddc781f93511cca1c7
@@ -206,10 +206,10 @@ var initThinMan = function(){
206
206
  init: function(target,alt,progress_color){
207
207
  if(target.length == 0){
208
208
  var progress_target = alt;
209
- } else if(alt.length > 0) {
209
+ } else if(typeof(alt) != 'undefined' && alt.length > 0) {
210
210
  var progress_target = target;
211
211
  } else {
212
- var progress_target = $(window);
212
+ var progress_target = $('body');
213
213
  }
214
214
  if(!progress_color){
215
215
  progress_color = 'black';
@@ -1,3 +1,3 @@
1
1
  module ThinMan
2
- VERSION = "0.8.4"
2
+ VERSION = "0.8.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thin_man
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.4
4
+ version: 0.8.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Draut, Adam Bialek
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-11 00:00:00.000000000 Z
11
+ date: 2015-06-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails