mirror of
https://github.com/psychopy/psychojs.git
synced 2025-05-12 16:48: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
|
* @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'
|
||||||
}/*)*/);
|
}/*)*/);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user