phaser/src/loader/index.js

33 lines
804 B
JavaScript
Raw Normal View History

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 = {
FileTypes: require('./filetypes'),
File: require('./File'),
FileTypesManager: require('./FileTypesManager'),
GetURL: require('./GetURL'),
LoaderPlugin: require('./LoaderPlugin'),
MergeXHRSettings: require('./MergeXHRSettings'),
2018-05-04 10:33:51 +00:00
MultiFile: require('./MultiFile'),
XHRLoader: require('./XHRLoader'),
XHRSettings: require('./XHRSettings')
};
2018-03-16 13:29:30 +00:00
// Merge in the consts
Loader = Extend(false, Loader, CONST);
module.exports = Loader;