mirror of
https://github.com/photonstorm/phaser
synced 2024-11-16 09:48:18 +00:00
Merge pull request #6067 from TJ09/commonjs-import-change
Don't reassign the return values from require()
This commit is contained in:
commit
919fa39faa
31 changed files with 62 additions and 62 deletions
|
@ -4,8 +4,8 @@
|
|||
* @license {@link https://opensource.org/licenses/MIT|MIT License}
|
||||
*/
|
||||
|
||||
var renderWebGL = require('../../../utils/NOOP');
|
||||
var renderCanvas = require('../../../utils/NOOP');
|
||||
var NOOP = require('../../../utils/NOOP');
|
||||
var renderWebGL = NOOP, renderCanvas = NOOP;
|
||||
|
||||
if (typeof WEBGL_RENDERER)
|
||||
{
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
* @license {@link https://opensource.org/licenses/MIT|MIT License}
|
||||
*/
|
||||
|
||||
var renderWebGL = require('../../../utils/NOOP');
|
||||
var renderCanvas = require('../../../utils/NOOP');
|
||||
var NOOP = require('../../../utils/NOOP');
|
||||
var renderWebGL = NOOP, renderCanvas = NOOP;
|
||||
|
||||
if (typeof WEBGL_RENDERER)
|
||||
{
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
* @license {@link https://opensource.org/licenses/MIT|MIT License}
|
||||
*/
|
||||
|
||||
var renderWebGL = require('../../utils/NOOP');
|
||||
var renderCanvas = require('../../utils/NOOP');
|
||||
var NOOP = require('../../utils/NOOP');
|
||||
var renderWebGL = NOOP, renderCanvas = NOOP;
|
||||
|
||||
if (typeof WEBGL_RENDERER)
|
||||
{
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
* @license {@link https://opensource.org/licenses/MIT|MIT License}
|
||||
*/
|
||||
|
||||
var renderWebGL = require('../../utils/NOOP');
|
||||
var renderCanvas = require('../../utils/NOOP');
|
||||
var NOOP = require('../../utils/NOOP');
|
||||
var renderWebGL = NOOP, renderCanvas = NOOP;
|
||||
|
||||
if (typeof WEBGL_RENDERER)
|
||||
{
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
* @license {@link https://opensource.org/licenses/MIT|MIT License}
|
||||
*/
|
||||
|
||||
var renderWebGL = require('../../utils/NOOP');
|
||||
var renderCanvas = require('../../utils/NOOP');
|
||||
var NOOP = require('../../utils/NOOP');
|
||||
var renderWebGL = NOOP, renderCanvas = NOOP;
|
||||
|
||||
if (typeof WEBGL_RENDERER)
|
||||
{
|
||||
|
|
4
src/gameobjects/extern/ExternRender.js
vendored
4
src/gameobjects/extern/ExternRender.js
vendored
|
@ -4,8 +4,8 @@
|
|||
* @license {@link https://opensource.org/licenses/MIT|MIT License}
|
||||
*/
|
||||
|
||||
var renderWebGL = require('../../utils/NOOP');
|
||||
var renderCanvas = require('../../utils/NOOP');
|
||||
var NOOP = require('../../utils/NOOP');
|
||||
var renderWebGL = NOOP, renderCanvas = NOOP;
|
||||
|
||||
if (typeof WEBGL_RENDERER)
|
||||
{
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
* @license {@link https://opensource.org/licenses/MIT|MIT License}
|
||||
*/
|
||||
|
||||
var renderWebGL = require('../../utils/NOOP');
|
||||
var renderCanvas = require('../../utils/NOOP');
|
||||
var NOOP = require('../../utils/NOOP');
|
||||
var renderWebGL = NOOP, renderCanvas = NOOP;
|
||||
|
||||
if (typeof WEBGL_RENDERER)
|
||||
{
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
* @license {@link https://opensource.org/licenses/MIT|MIT License}
|
||||
*/
|
||||
|
||||
var renderWebGL = require('../../utils/NOOP');
|
||||
var renderCanvas = require('../../utils/NOOP');
|
||||
var NOOP = require('../../utils/NOOP');
|
||||
var renderWebGL = NOOP, renderCanvas = NOOP;
|
||||
|
||||
if (typeof WEBGL_RENDERER)
|
||||
{
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
* @license {@link https://opensource.org/licenses/MIT|MIT License}
|
||||
*/
|
||||
|
||||
var renderWebGL = require('../../utils/NOOP');
|
||||
var renderCanvas = require('../../utils/NOOP');
|
||||
var NOOP = require('../../utils/NOOP');
|
||||
var renderWebGL = NOOP, renderCanvas = NOOP;
|
||||
|
||||
if (typeof WEBGL_RENDERER)
|
||||
{
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
* @license {@link https://opensource.org/licenses/MIT|MIT License}
|
||||
*/
|
||||
|
||||
var renderWebGL = require('../../utils/NOOP');
|
||||
var renderCanvas = require('../../utils/NOOP');
|
||||
var NOOP = require('../../utils/NOOP');
|
||||
var renderWebGL = NOOP, renderCanvas = NOOP;
|
||||
|
||||
if (typeof WEBGL_RENDERER)
|
||||
{
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
* @license {@link https://opensource.org/licenses/MIT|MIT License}
|
||||
*/
|
||||
|
||||
var renderWebGL = require('../../utils/NOOP');
|
||||
var renderCanvas = require('../../utils/NOOP');
|
||||
var NOOP = require('../../utils/NOOP');
|
||||
var renderWebGL = NOOP, renderCanvas = NOOP;
|
||||
|
||||
if (typeof WEBGL_RENDERER)
|
||||
{
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
* @license {@link https://opensource.org/licenses/MIT|MIT License}
|
||||
*/
|
||||
|
||||
var renderWebGL = require('../../utils/NOOP');
|
||||
var renderCanvas = require('../../utils/NOOP');
|
||||
var NOOP = require('../../utils/NOOP');
|
||||
var renderWebGL = NOOP, renderCanvas = NOOP;
|
||||
|
||||
if (typeof WEBGL_RENDERER)
|
||||
{
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
* @license {@link https://opensource.org/licenses/MIT|MIT License}
|
||||
*/
|
||||
|
||||
var renderWebGL = require('../../utils/NOOP');
|
||||
var renderCanvas = require('../../utils/NOOP');
|
||||
var NOOP = require('../../utils/NOOP');
|
||||
var renderWebGL = NOOP, renderCanvas = NOOP;
|
||||
|
||||
if (typeof WEBGL_RENDERER)
|
||||
{
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
* @license {@link https://opensource.org/licenses/MIT|MIT License}
|
||||
*/
|
||||
|
||||
var renderWebGL = require('../../utils/NOOP');
|
||||
var renderCanvas = require('../../utils/NOOP');
|
||||
var NOOP = require('../../utils/NOOP');
|
||||
var renderWebGL = NOOP, renderCanvas = NOOP;
|
||||
|
||||
if (typeof WEBGL_RENDERER)
|
||||
{
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
* @license {@link https://opensource.org/licenses/MIT|MIT License}
|
||||
*/
|
||||
|
||||
var renderWebGL = require('../../utils/NOOP');
|
||||
var renderCanvas = require('../../utils/NOOP');
|
||||
var NOOP = require('../../utils/NOOP');
|
||||
var renderWebGL = NOOP, renderCanvas = NOOP;
|
||||
|
||||
if (typeof WEBGL_RENDERER)
|
||||
{
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
* @license {@link https://opensource.org/licenses/MIT|MIT License}
|
||||
*/
|
||||
|
||||
var renderWebGL = require('../../../utils/NOOP');
|
||||
var renderCanvas = require('../../../utils/NOOP');
|
||||
var NOOP = require('../../../utils/NOOP');
|
||||
var renderWebGL = NOOP, renderCanvas = NOOP;
|
||||
|
||||
if (typeof WEBGL_RENDERER)
|
||||
{
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
* @license {@link https://opensource.org/licenses/MIT|MIT License}
|
||||
*/
|
||||
|
||||
var renderWebGL = require('../../../utils/NOOP');
|
||||
var renderCanvas = require('../../../utils/NOOP');
|
||||
var NOOP = require('../../../utils/NOOP');
|
||||
var renderWebGL = NOOP, renderCanvas = NOOP;
|
||||
|
||||
if (typeof WEBGL_RENDERER)
|
||||
{
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
* @license {@link https://opensource.org/licenses/MIT|MIT License}
|
||||
*/
|
||||
|
||||
var renderWebGL = require('../../../utils/NOOP');
|
||||
var renderCanvas = require('../../../utils/NOOP');
|
||||
var NOOP = require('../../../utils/NOOP');
|
||||
var renderWebGL = NOOP, renderCanvas = NOOP;
|
||||
|
||||
if (typeof WEBGL_RENDERER)
|
||||
{
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
* @license {@link https://opensource.org/licenses/MIT|MIT License}
|
||||
*/
|
||||
|
||||
var renderWebGL = require('../../../utils/NOOP');
|
||||
var renderCanvas = require('../../../utils/NOOP');
|
||||
var NOOP = require('../../../utils/NOOP');
|
||||
var renderWebGL = NOOP, renderCanvas = NOOP;
|
||||
|
||||
if (typeof WEBGL_RENDERER)
|
||||
{
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
* @license {@link https://opensource.org/licenses/MIT|MIT License}
|
||||
*/
|
||||
|
||||
var renderWebGL = require('../../../utils/NOOP');
|
||||
var renderCanvas = require('../../../utils/NOOP');
|
||||
var NOOP = require('../../../utils/NOOP');
|
||||
var renderWebGL = NOOP, renderCanvas = NOOP;
|
||||
|
||||
if (typeof WEBGL_RENDERER)
|
||||
{
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
* @license {@link https://opensource.org/licenses/MIT|MIT License}
|
||||
*/
|
||||
|
||||
var renderWebGL = require('../../../utils/NOOP');
|
||||
var renderCanvas = require('../../../utils/NOOP');
|
||||
var NOOP = require('../../../utils/NOOP');
|
||||
var renderWebGL = NOOP, renderCanvas = NOOP;
|
||||
|
||||
if (typeof WEBGL_RENDERER)
|
||||
{
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
* @license {@link https://opensource.org/licenses/MIT|MIT License}
|
||||
*/
|
||||
|
||||
var renderWebGL = require('../../../utils/NOOP');
|
||||
var renderCanvas = require('../../../utils/NOOP');
|
||||
var NOOP = require('../../../utils/NOOP');
|
||||
var renderWebGL = NOOP, renderCanvas = NOOP;
|
||||
|
||||
if (typeof WEBGL_RENDERER)
|
||||
{
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
* @license {@link https://opensource.org/licenses/MIT|MIT License}
|
||||
*/
|
||||
|
||||
var renderWebGL = require('../../../utils/NOOP');
|
||||
var renderCanvas = require('../../../utils/NOOP');
|
||||
var NOOP = require('../../../utils/NOOP');
|
||||
var renderWebGL = NOOP, renderCanvas = NOOP;
|
||||
|
||||
if (typeof WEBGL_RENDERER)
|
||||
{
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
* @license {@link https://opensource.org/licenses/MIT|MIT License}
|
||||
*/
|
||||
|
||||
var renderWebGL = require('../../../utils/NOOP');
|
||||
var renderCanvas = require('../../../utils/NOOP');
|
||||
var NOOP = require('../../../utils/NOOP');
|
||||
var renderWebGL = NOOP, renderCanvas = NOOP;
|
||||
|
||||
if (typeof WEBGL_RENDERER)
|
||||
{
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
* @license {@link https://opensource.org/licenses/MIT|MIT License}
|
||||
*/
|
||||
|
||||
var renderWebGL = require('../../../utils/NOOP');
|
||||
var renderCanvas = require('../../../utils/NOOP');
|
||||
var NOOP = require('../../../utils/NOOP');
|
||||
var renderWebGL = NOOP, renderCanvas = NOOP;
|
||||
|
||||
if (typeof WEBGL_RENDERER)
|
||||
{
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
* @license {@link https://opensource.org/licenses/MIT|MIT License}
|
||||
*/
|
||||
|
||||
var renderWebGL = require('../../../utils/NOOP');
|
||||
var renderCanvas = require('../../../utils/NOOP');
|
||||
var NOOP = require('../../../utils/NOOP');
|
||||
var renderWebGL = NOOP, renderCanvas = NOOP;
|
||||
|
||||
if (typeof WEBGL_RENDERER)
|
||||
{
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
* @license {@link https://opensource.org/licenses/MIT|MIT License}
|
||||
*/
|
||||
|
||||
var renderWebGL = require('../../utils/NOOP');
|
||||
var renderCanvas = require('../../utils/NOOP');
|
||||
var NOOP = require('../../utils/NOOP');
|
||||
var renderWebGL = NOOP, renderCanvas = NOOP;
|
||||
|
||||
if (typeof WEBGL_RENDERER)
|
||||
{
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
* @license {@link https://opensource.org/licenses/MIT|MIT License}
|
||||
*/
|
||||
|
||||
var renderWebGL = require('../../utils/NOOP');
|
||||
var renderCanvas = require('../../utils/NOOP');
|
||||
var NOOP = require('../../utils/NOOP');
|
||||
var renderWebGL = NOOP, renderCanvas = NOOP;
|
||||
|
||||
if (typeof WEBGL_RENDERER)
|
||||
{
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
* @license {@link https://opensource.org/licenses/MIT|MIT License}
|
||||
*/
|
||||
|
||||
var renderWebGL = require('../../utils/NOOP');
|
||||
var renderCanvas = require('../../utils/NOOP');
|
||||
var NOOP = require('../../utils/NOOP');
|
||||
var renderWebGL = NOOP, renderCanvas = NOOP;
|
||||
|
||||
if (typeof WEBGL_RENDERER)
|
||||
{
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
* @license {@link https://opensource.org/licenses/MIT|MIT License}
|
||||
*/
|
||||
|
||||
var renderWebGL = require('../../utils/NOOP');
|
||||
var renderCanvas = require('../../utils/NOOP');
|
||||
var NOOP = require('../../utils/NOOP');
|
||||
var renderWebGL = NOOP, renderCanvas = NOOP;
|
||||
|
||||
if (typeof WEBGL_RENDERER)
|
||||
{
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
* @license {@link https://opensource.org/licenses/MIT|MIT License}
|
||||
*/
|
||||
|
||||
var renderWebGL = require('../utils/NOOP');
|
||||
var renderCanvas = require('../utils/NOOP');
|
||||
var NOOP = require('../utils/NOOP');
|
||||
var renderWebGL = NOOP, renderCanvas = NOOP;
|
||||
|
||||
if (typeof WEBGL_RENDERER)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue