diff options
author | tomsmeding <tom.smeding@gmail.com> | 2017-11-23 20:30:23 +0100 |
---|---|---|
committer | tomsmeding <tom.smeding@gmail.com> | 2017-11-23 20:30:23 +0100 |
commit | ba27cb3fc21baa6f64221612517faa77811f9a20 (patch) | |
tree | 742991a0dec92702073d7720424bd4d8b870007f /modules/zelfoverhoor | |
parent | 55ccae6831808d89609a761a095282d822bc44c8 (diff) |
zelfoverhoor: Remove redundant shuffle() function in qs.js
Diffstat (limited to 'modules/zelfoverhoor')
-rw-r--r-- | modules/zelfoverhoor/qs.js | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/modules/zelfoverhoor/qs.js b/modules/zelfoverhoor/qs.js index cc68af9..6b04487 100644 --- a/modules/zelfoverhoor/qs.js +++ b/modules/zelfoverhoor/qs.js @@ -9,14 +9,6 @@ function clearElement(el){ while(el.lastChild)el.removeChild(el.lastChild); } -function shuffle(a){ - var j,v,i; - for(var i=a.length-1;i>0;i--){ - j=Math.floor(Math.random()*(i+1)); - v=a[i]; a[i]=a[j]; a[j]=v; - } -} - function startQuiz(){ currentidx=0; numcorrect=0; |