mirror of
https://github.com/psychopy/psychojs.git
synced 2025-05-11 16:18:10 +00:00
core/ServerManager: import PreloadJS for side effects
This commit is contained in:
parent
c5545ca12d
commit
e77688ce56
@ -7,7 +7,7 @@
|
||||
* @license Distributed under the terms of the MIT License
|
||||
*/
|
||||
|
||||
import createjs from 'preload-js';
|
||||
import 'preloadjs';
|
||||
import { Howl } from 'howler';
|
||||
import {PsychoJS} from './PsychoJS';
|
||||
import {PsychObject} from '../util/PsychObject';
|
||||
@ -1045,7 +1045,7 @@ export class ServerManager extends PsychObject
|
||||
manifest.push(/*new createjs.LoadItem().set(*/{
|
||||
id: name,
|
||||
src: pathStatusData.path,
|
||||
type: createjs.LoadQueue.BINARY, //createjs.Types.BINARY,
|
||||
type: createjs.Types.BINARY,
|
||||
crossOrigin: 'Anonymous'
|
||||
}/*)*/);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user