phaser/src/loader/index.js

32 lines
765 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'),
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;