1
0
mirror of https://github.com/psychopy/psychojs.git synced 2025-05-12 08:38:10 +00:00

core/ServerManager: import PreloadJS for side effects

This commit is contained in:
Sotiri Bakagiannis 2021-06-07 11:38:13 +01:00
parent c5545ca12d
commit e77688ce56

View File

@ -7,7 +7,7 @@
* @license Distributed under the terms of the MIT License * @license Distributed under the terms of the MIT License
*/ */
import createjs from 'preload-js'; import 'preloadjs';
import { Howl } from 'howler'; import { Howl } from 'howler';
import {PsychoJS} from './PsychoJS'; import {PsychoJS} from './PsychoJS';
import {PsychObject} from '../util/PsychObject'; import {PsychObject} from '../util/PsychObject';
@ -1045,7 +1045,7 @@ export class ServerManager extends PsychObject
manifest.push(/*new createjs.LoadItem().set(*/{ manifest.push(/*new createjs.LoadItem().set(*/{
id: name, id: name,
src: pathStatusData.path, src: pathStatusData.path,
type: createjs.LoadQueue.BINARY, //createjs.Types.BINARY, type: createjs.Types.BINARY,
crossOrigin: 'Anonymous' crossOrigin: 'Anonymous'
}/*)*/); }/*)*/);
} }