Repository navigation
Minor Changes
-
4479720: Accept
experiment_id, the name the jsPsych extension and plugin use for the experiment ID, so the same option is spelled the same way everywhere.experimentIDstill works and there are no plans to remove it. Give one or the other. If both are given and differ,saveData,saveBase64DataandgetConditionthrow, and a session starts inert with a console warning. Nothing changes on the wire. -
132affd: Pass the session to
saveDatawithsessioninstead of flushing and readingsessionIdyourself.saveDatawaits for the session to start and sends its id.Adds
session.ready(), which resolves once the session has started (or failed to). It waits only for startup, not for staged writes, so a final submission from a background tab is no longer held up by a throttled flush.sessionIdstill works.