2018-02-12 16:01:20 +00:00
|
|
|
/**
|
2024-02-19 17:12:18 +00:00
|
|
|
* @author Richard Davey <rich@phaser.io>
|
|
|
|
* @copyright 2013-2024 Phaser Studio Inc.
|
2019-05-10 15:15:04 +00:00
|
|
|
* @license {@link https://opensource.org/licenses/MIT|MIT License}
|
2018-02-12 16:01:20 +00:00
|
|
|
*/
|
|
|
|
|
2018-03-16 13:29:30 +00:00
|
|
|
var CONST = require('./const');
|
|
|
|
var Extend = require('../utils/object/Extend');
|
|
|
|
|
2018-01-31 13:54:44 +00:00
|
|
|
/**
|
|
|
|
* @namespace Phaser.Loader
|
|
|
|
*/
|
|
|
|
|
2018-03-16 13:29:30 +00:00
|
|
|
var Loader = {
|
2018-01-16 22:28:29 +00:00
|
|
|
|
2019-01-17 13:04:26 +00:00
|
|
|
Events: require('./events'),
|
|
|
|
|
2018-02-09 01:40:41 +00:00
|
|
|
FileTypes: require('./filetypes'),
|
2018-02-08 17:00:14 +00:00
|
|
|
|
2018-01-16 22:28:29 +00:00
|
|
|
File: require('./File'),
|
2018-01-19 13:29:15 +00:00
|
|
|
FileTypesManager: require('./FileTypesManager'),
|
2018-02-08 17:00:14 +00:00
|
|
|
GetURL: require('./GetURL'),
|
|
|
|
LoaderPlugin: require('./LoaderPlugin'),
|
|
|
|
MergeXHRSettings: require('./MergeXHRSettings'),
|
2018-05-04 10:33:51 +00:00
|
|
|
MultiFile: require('./MultiFile'),
|
2018-02-08 17:00:14 +00:00
|
|
|
XHRLoader: require('./XHRLoader'),
|
|
|
|
XHRSettings: require('./XHRSettings')
|
2018-01-16 22:28:29 +00:00
|
|
|
|
|
|
|
};
|
2018-03-16 13:29:30 +00:00
|
|
|
|
|
|
|
// Merge in the consts
|
|
|
|
Loader = Extend(false, Loader, CONST);
|
|
|
|
|
|
|
|
module.exports = Loader;
|