thin_man 0.9.6 → 0.9.7

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: af482c9cca50781f9d457d002516caf1331f404e
4
- data.tar.gz: 54bb7bae6415461acad2c7a029a2dd31cf1d0d88
3
+ metadata.gz: 4cabf673a8f1735b090528d1706a2a64197e69b3
4
+ data.tar.gz: a32c900a9b6ee7738a10b4d825bb49a7e8f2d3b5
5
5
  SHA512:
6
- metadata.gz: 1972502569d7697bc6201aef74d55fcb8d5971869bc04e9e7f089e86bdc7033cff3cdb694b3f5e9d7ee871406dc41e6bedafef8c3455f054669b13c52335c3b7
7
- data.tar.gz: 8a611f1aa92936ba36c884f8e14600daffa9b4c4e1c1f306402f5371053a0cf34522a7093e892f1d58ff09ff2ee5c4cac575e81dfc80f079e6f3610f4f291cef
6
+ metadata.gz: 7e8a9d1b449cc3836eefe8566b8e01ca2df82ab1b1107a7a688505a190554c2342f15de0eef282e71df2a80a84b1ae288dbfeb130a0879eb44d5c4386a988011
7
+ data.tar.gz: e808965ee5770c87154194fdc63ca15b27a3a3c9c4227d258015be302d49d80250d632d52b7e7cebf6145a77a5cb1ec034a9ea427247f0028ba3b758becbd813
@@ -215,7 +215,7 @@ var initThinMan = function(){
215
215
  progress_color = 'black';
216
216
  }
217
217
  this.progress_container = $('#ajax_progress_container').clone();
218
- uuid = new this.UUID;
218
+ uuid = new UUID;
219
219
  this.progress_container.prop('id', uuid.value);
220
220
  progress_target.append(this.progress_container);
221
221
  this.progress_container.css({
@@ -305,14 +305,6 @@ var initThinMan = function(){
305
305
  });
306
306
  $sort_container.disableSelection();
307
307
  }
308
- }),
309
- UUID: Class.extend({
310
- init: function(){
311
- this.value = 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function(c) {
312
- var r = Math.random()*16|0, v = c == 'x' ? r : (r&0x3|0x8);
313
- return v.toString(16);
314
- });
315
- }
316
308
  })
317
309
  };
318
310
  thin_man.AjaxFormSubmission = thin_man.AjaxSubmission.extend({
@@ -488,12 +480,18 @@ var initThinMan = function(){
488
480
 
489
481
  });
490
482
 
483
+ };
484
+
485
+ if(typeof UUID == 'undefined'){
491
486
  var UUID = Class.extend({
492
487
  init: function(){
488
+ this.value = 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function(c) {
489
+ var r = Math.random()*16|0, v = c == 'x' ? r : (r&0x3|0x8);
490
+ return v.toString(16);
491
+ });
493
492
  }
494
- });
495
-
496
- };
493
+ })
494
+ }
497
495
 
498
496
  if(typeof Class === "undefined"){
499
497
  /* Simple JavaScript Inheritance
@@ -1,3 +1,3 @@
1
1
  module ThinMan
2
- VERSION = "0.9.6"
2
+ VERSION = "0.9.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thin_man
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.6
4
+ version: 0.9.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Draut, Adam Bialek