diff --git a/app/assets/javascripts/cancer_predict.js b/app/assets/javascripts/cancer_predict.js index 813f0f8..6e7224a 100644 --- a/app/assets/javascripts/cancer_predict.js +++ b/app/assets/javascripts/cancer_predict.js @@ -1,4 +1,30 @@ $(document).ready(function(){ + Array.prototype.remove_item_from_array = function(){ + var result_array = this; + for(var i=0;i