I noticed that, in html/Score_demo.js, psychoJS.start()
is called as follows.
psychoJS.start({
expName: expName,
expInfo: expInfo,
});
On the other hand, when running on Pavlovia, call of psychoJS.start()
is as follows (confirmed by showing debugger pane on FireFox).
Name and path of xlsx file is given.
psychoJS.start({expName, expInfo, resources: [
{'name': 'conditions.xlsx', 'path': 'resources/conditions.xlsx'}
]
});
In addition, when running on Pavlovia, Score_demo.js seems to import version 3.2 of PsychoJS.
import { PsychoJS } from './lib/core-3.2.js';
import * as core from './lib/core-3.2.js';
import { TrialHandler } from './lib/data-3.2.js';
import { Scheduler } from './lib/util-3.2.js';
import * as util from './lib/util-3.2.js';
import * as visual from './lib/visual-3.2.js';
import { Sound } from './lib/sound-3.2.js';
On local debugging, Score_demo.js imports version 2020.1.
import { PsychoJS } from './lib/core-2020.1.js';
import * as core from './lib/core-2020.1.js';
import { TrialHandler } from './lib/data-2020.1.js';
import { Scheduler } from './lib/util-2020.1.js';
import * as util from './lib/util-2020.1.js';
import * as visual from './lib/visual-2020.1.js';
import * as sound from './lib/sound-2020.1.js';