integ/js/vs/_vs.decay.js
changeset 65 b13a409f01dc
parent 64 2937fe1ba865
child 66 a77532772aa4
--- a/integ/js/vs/_vs.decay.js	Mon May 06 14:57:50 2013 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,33 +0,0 @@
-(function ($) {
-
-$.fn._vs.decay = {
-    tokens:[],
-    update:function(_this) {
-      var incrementationStrate = 1;
-      var top                  = _this.settings.sedimentation.suspension.height
-      var height               = _this.settings.height
-      var intervalStrate       = _this.settings.sedimentation.token.size/4
-      var power                = _this.settings.sedimentation.suspension.decay.power
-      var scale                = _this.settings.options.scale
-      var limit                = _this.settings.sedimentation.token.size.minimum
-
-      if(power==null){var power = 0}
-        
-        for(var b = 0; b < this.tokens.length; b++) {
-          var tokenSize  = this.tokens[b].attr("size")
-          if(power!=0){
-            this.tokens[b].attr("size",tokenSize/power)
-          }
-           // Flocculate
-                     
-          if(tokenSize<=limit){
-            if (_this.settings.sedimentation.flocculate.strategy!=null){ 
-              _this.flocculate.destroyIt(_this,this.tokens[b]);
-              _this.strata.update(_this);
-            }
-          }
-        }
-    }
-}
-
-})(jQuery);