Template:Team:Paris Saclay/simbox

From 2013.igem.org

(Difference between revisions)
Line 272: Line 272:
         array[index]= temp;
         array[index]= temp;
     }
     }
 +
    return array;
}
}
Line 280: Line 281:
  for(var i= 0 ; i < simulations[simid].reactions.length ; ++i)
  for(var i= 0 ; i < simulations[simid].reactions.length ; ++i)
   indexes[i]= i;
   indexes[i]= i;
-
  shuffle_array(indexes);
+
  indexes= shuffle_array(indexes);
  alert(indexes[0]);
  alert(indexes[0]);
}
}

Revision as of 23:15, 2 August 2013