e

parent 8b123b51
This diff is collapsed.
......@@ -117,7 +117,10 @@ var b;
var c;
var list;
var intervall;
var repetitionn;
var durationn;
var ran;
var stop;
var IntroClock;
var text_2;
var key_resp_2;
......@@ -216,7 +219,7 @@ function experimentInit() {
c = 0;
list = shuffle_list(total);
intervall = list[a][b].length;
function repetitionn(intervall) {
repetitionn=function(intervall) {
if ((intervall === 6)) {
return 18;
} else {
......@@ -229,7 +232,7 @@ function experimentInit() {
}
}
}
function durationn(intervall) {
durationn=function(intervall) {
var start6, start7, start8;
start6 = [1.5, 0.05, 0.05, 0.05, 0.05, 0.05];
start7 = [1.5, 0.05, 0.05, 0.05, 0.05, 0.05, 0.05];
......@@ -247,7 +250,7 @@ function experimentInit() {
}
}
ran = (Math.floor((Math.random() * ((6 - 1) + 1))) + 1);
function stop(ran) {
stop=function(ran) {
if ((ran === 1)) {
return num1_to_sec(list[a][b][c]);
} else {
......
......@@ -128,7 +128,10 @@ var b;
var c;
var list;
var intervall;
var repetitionn;
var durationn;
var ran;
var stop;
var IntroClock;
var text_2;
var key_resp_2;
......@@ -227,7 +230,7 @@ function experimentInit() {
c = 0;
list = shuffle_list(total);
intervall = list[a][b].length;
function repetitionn(intervall) {
repetitionn=function(intervall) {
if ((intervall === 6)) {
return 18;
} else {
......@@ -240,7 +243,7 @@ function experimentInit() {
}
}
}
function durationn(intervall) {
durationn=function(intervall) {
var start6, start7, start8;
start6 = [1.5, 0.05, 0.05, 0.05, 0.05, 0.05];
start7 = [1.5, 0.05, 0.05, 0.05, 0.05, 0.05, 0.05];
......@@ -258,7 +261,7 @@ function experimentInit() {
}
}
ran = (Math.floor((Math.random() * ((6 - 1) + 1))) + 1);
function stop(ran) {
stop=function(ran) {
if ((ran === 1)) {
return num1_to_sec(list[a][b][c]);
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment