Merge pull request #6067 from TJ09/commonjs-import-change

Don't reassign the return values from require()
This commit is contained in:
Richard Davey 2022-05-09 16:49:58 +01:00 committed by GitHub
commit 919fa39faa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
31 changed files with 62 additions and 62 deletions

View file

@ -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)
{

View file

@ -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)
{

View file

@ -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)
{

View file

@ -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)
{

View file

@ -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)
{

View file

@ -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)
{

View file

@ -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)
{

View file

@ -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)
{

View file

@ -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)
{

View file

@ -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)
{

View file

@ -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)
{

View file

@ -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)
{

View file

@ -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)
{

View file

@ -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)
{

View file

@ -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)
{

View file

@ -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)
{

View file

@ -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)
{

View file

@ -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)
{

View file

@ -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)
{

View file

@ -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)
{

View file

@ -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)
{

View file

@ -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)
{

View file

@ -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)
{

View file

@ -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)
{

View file

@ -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)
{

View file

@ -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)
{

View file

@ -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)
{

View file

@ -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)
{

View file

@ -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)
{

View file

@ -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)
{

View file

@ -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)
{