app/assets/javascripts/thin_man.js in thin_man-0.10.0 vs app/assets/javascripts/thin_man.js in thin_man-0.10.1

- old
+ new

@@ -483,21 +483,10 @@ }); }; -if(typeof UUID == 'undefined'){ - var UUID = Class.extend({ - init: function(){ - this.value = 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function(c) { - var r = Math.random()*16|0, v = c == 'x' ? r : (r&0x3|0x8); - return v.toString(16); - }); - } - }) -} - if(typeof Class === "undefined"){ /* Simple JavaScript Inheritance * By John Resig http://ejohn.org/ * MIT Licensed. */ @@ -559,9 +548,21 @@ return Class; }; })(); } + +if(typeof UUID == 'undefined'){ + var UUID = Class.extend({ + init: function(){ + this.value = 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function(c) { + var r = Math.random()*16|0, v = c == 'x' ? r : (r&0x3|0x8); + return v.toString(16); + }); + } + }) +} + if(typeof window.any_time_manager === "undefined" && typeof window.loading_any_time_manager === "undefined"){ //Anytime loader, simulates load events for ajax requests function getSubClass(sub_class_name,parent_class){ if((typeof(sub_class_name) == 'string') && (sub_class_name != '') && (sub_class_name != 'true')){ var this_class = sub_class_name;