Skip to content

Commit

Permalink
closes #85
Browse files Browse the repository at this point in the history
student in class pointed out stimuli not shuffled in example.  according to underscore.js docs, the shuffle is not "in place".  this fixes it.
  • Loading branch information
gureckis committed Apr 16, 2014
1 parent 410718e commit 9128260
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion psiturk/example/static/js/task.js
Expand Up @@ -58,7 +58,7 @@ var StroopExperiment = function() {
["RED", "blue", "incongruent"]
];

_.shuffle(stims);
stims = _.shuffle(stims);

var next = function() {
if (stims.length===0) {
Expand Down

0 comments on commit 9128260

Please sign in to comment.