pgte/mturk — pull request #4 by neyric (2012-05-07 14:51:15+00:00)
Title: requesterAnnotation is not necessarily in JSON format

Hi,

I had this weird error, and it was because my HITs, didn't have JSON requesterAnnotation :

undefined:1

^
SyntaxError: Unexpected token D
at Object.parse (native)
at HIT.populateFromResponse (/Users/xxx/node_modules/mturk/model/hit.js:41:39)
at /Users/xxx/node_modules/mturk/model/hit.js:228:13