NYUCCL / psiTurk

An open platform for science on Amazon Mechanical Turk.
https://psiturk.org
MIT License
277 stars 140 forks source link

Javascript organization #4

Closed johnmcdonnell closed 10 years ago

johnmcdonnell commented 12 years ago

Right now, task.js is set up to be pretty spaghetti-ish. Initializing an instruction object results in instructions immediately being begun, and finishing immediately causes the test phase. A more transparent/OOPish approach might be to generate a list of objects and running them in turn.

jbmartin commented 11 years ago

With the new changes to psiturk.js, this issue might be closed.

johnmcdonnell commented 11 years ago

I actually haven't done a very proper fix-up. Pretty embarrassing this issue is 10 months old haha