2013-10-01 12:54:29 +00:00
|
|
|
/**
|
|
|
|
* @author Richard Davey <rich@photonstorm.com>
|
2015-02-25 03:36:23 +00:00
|
|
|
* @copyright 2015 Photon Storm Ltd.
|
2013-10-01 12:54:29 +00:00
|
|
|
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
|
|
|
|
*/
|
|
|
|
|
2015-07-24 08:43:44 +00:00
|
|
|
(function (root, factory) {
|
|
|
|
if (typeof define === 'function' && define.amd) {
|
|
|
|
// AMD. Register as an anonymous module.
|
|
|
|
define(['exports', 'Phaser'], function (exports, Phaser) {
|
|
|
|
factory((root.commonJsStrictGlobal = exports), Phaser);
|
|
|
|
});
|
|
|
|
} else if (typeof exports === 'object' && typeof exports.nodeName !== 'string') {
|
|
|
|
// CommonJS
|
|
|
|
factory(exports, require('Phaser'));
|
|
|
|
} else {
|
|
|
|
// Browser globals
|
|
|
|
factory((root.commonJsStrictGlobal = {}), root.Phaser);
|
|
|
|
}
|
|
|
|
}(this, function (exports, Phaser) {
|
|
|
|
|