2018-02-12 16:01:20 +00:00
|
|
|
/**
|
|
|
|
* @author Richard Davey <rich@photonstorm.com>
|
|
|
|
* @copyright 2018 Photon Storm Ltd.
|
|
|
|
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
|
|
|
|
*/
|
|
|
|
|
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
|
|
|
|
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;
|