Skip to content
Discussion options

You must be logged in to vote

I don't see anything wrong with this approach. What I would do personally is organize the js file so that the different lists are in there explicitly: you define a key for the list number and for each list number you define the array of stimuli that corresponds to it. But I guess that's just an alternative way of doing things :)

{"1" : [
   {set: "coffee", condition: "C", img: "coffee_s1.jpg"},
   {set: "coffee", condition: "C", img: "coffee_s1.jpg"}],
 "2" : [
   {set: "coffee", condition: "A", img: "coffee_s2.jpg"},
   {set: "coffee", condition: "A", img: "coffee_s2.jpg"}]
}

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@inesmar7
Comment options

Answer selected by inesmar7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants