jsdoc and eslint fixes

This commit is contained in:
Richard Davey 2018-04-05 09:02:36 +01:00
parent 3009809fc4
commit 4f6239dadb
12 changed files with 14 additions and 7 deletions

View file

@ -15,7 +15,7 @@ var Container = new Class({
initialize:
function Container(scene, x, y)
function Container (scene, x, y)
{
GameObject.call(this, scene, 'Container');
this.parentContainer = null;

View file

@ -29,4 +29,4 @@ var ContainerCanvasRenderer = function (renderer, container, interpolationPercen
}
};
module.exports = ContainerCanvasRenderer;
module.exports = ContainerCanvasRenderer;

View file

@ -29,4 +29,4 @@ var ContainerWebGLRenderer = function (renderer, container, interpolationPercent
}
};
module.exports = ContainerWebGLRenderer;
module.exports = ContainerWebGLRenderer;

View file

@ -43,7 +43,7 @@ var RenderTextureWebGLRenderer = function (renderer, renderTexture, interpolatio
0, 0, renderTexture.texture.width, renderTexture.texture.height,
Utils.getTintAppendFloatAlpha(renderTexture.tintTopLeft, renderTexture.alphaTopLeft), Utils.getTintAppendFloatAlpha(renderTexture.tintTopRight, renderTexture.alphaTopRight), Utils.getTintAppendFloatAlpha(renderTexture.tintBottomLeft, renderTexture.alphaBottomLeft), Utils.getTintAppendFloatAlpha(renderTexture.tintBottomRight, renderTexture.alphaBottomRight),
0, 0,
camera,
camera,
parentMatrix
);
};

View file

@ -1,5 +1,6 @@
/**
* @author Richard Davey <rich@photonstorm.com>
* @author Felipe Alfonso <@bitnenfer>
* @copyright 2018 Photon Storm Ltd.
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
*/

View file

@ -1,5 +1,6 @@
/**
* @author Richard Davey <rich@photonstorm.com>
* @author Felipe Alfonso <@bitnenfer>
* @copyright 2018 Photon Storm Ltd.
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
*/

View file

@ -1,5 +1,6 @@
/**
* @author Richard Davey <rich@photonstorm.com>
* @author Felipe Alfonso <@bitnenfer>
* @copyright 2018 Photon Storm Ltd.
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
*/

View file

@ -1,5 +1,6 @@
/**
* @author Richard Davey <rich@photonstorm.com>
* @author Felipe Alfonso <@bitnenfer>
* @copyright 2018 Photon Storm Ltd.
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
*/

View file

@ -1,5 +1,6 @@
/**
* @author Richard Davey <rich@photonstorm.com>
* @author Felipe Alfonso <@bitnenfer>
* @copyright 2018 Photon Storm Ltd.
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
*/

View file

@ -1,5 +1,6 @@
/**
* @author Richard Davey <rich@photonstorm.com>
* @author Felipe Alfonso <@bitnenfer>
* @copyright 2018 Photon Storm Ltd.
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
*/

View file

@ -1,5 +1,6 @@
/**
* @author Richard Davey <rich@photonstorm.com>
* @author Felipe Alfonso <@bitnenfer>
* @copyright 2018 Photon Storm Ltd.
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
*/

View file

@ -1,5 +1,6 @@
/**
* @author Richard Davey <rich@photonstorm.com>
* @author Felipe Alfonso <@bitnenfer>
* @copyright 2018 Photon Storm Ltd.
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
*/
@ -10,7 +11,6 @@ var ShaderSourceFS = require('../shaders/TextureTint.frag');
var ShaderSourceVS = require('../shaders/TextureTint.vert');
var Utils = require('../Utils');
var WebGLPipeline = require('../WebGLPipeline');
var IdentityMatrix = new Float32Array([1, 0, 0, 1, 0, 0]);
/**
* @classdesc
@ -1796,7 +1796,7 @@ var TextureTintPipeline = new Class({
frameX, frameY, frameWidth, frameHeight,
tintTL, tintTR, tintBL, tintBR,
uOffset, vOffset,
camera,
camera,
parentTransformMatrix)
{
var parentMatrix = null;
@ -1963,7 +1963,7 @@ var TextureTintPipeline = new Class({
srcX, srcY,
tint, alpha,
frameX, frameY, frameWidth, frameHeight,
transformMatrix,
transformMatrix,
parentTransformMatrix
)
{