Skip to content

Commit 56dfdb7

Browse files
committed
More jsdoc global fixes
1 parent 2700406 commit 56dfdb7

4 files changed

Lines changed: 30 additions & 11 deletions

File tree

src/geom/polygon/Smooth.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
66
*/
77

8+
/**
9+
* @ignore
10+
*/
811
var copy = function (out, a)
912
{
1013
out[0] = a[0];

src/loader/File.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -499,6 +499,8 @@ var File = new Class({
499499
*
500500
* @method Phaser.Loader.File.createObjectURL
501501
* @static
502+
* @since 3.7.0
503+
*
502504
* @param {HTMLImageElement} image - Image object which 'src' attribute should be set to object URL.
503505
* @param {Blob} blob - A Blob object to create an object URL for.
504506
* @param {string} defaultType - Default mime type used if blob type is not available.
@@ -531,6 +533,8 @@ File.createObjectURL = function (image, blob, defaultType)
531533
*
532534
* @method Phaser.Loader.File.revokeObjectURL
533535
* @static
536+
* @since 3.7.0
537+
*
534538
* @param {HTMLImageElement} image - Image object which 'src' attribute should be revoked.
535539
*/
536540
File.revokeObjectURL = function (image)

src/math/interpolation/CubicBezierInterpolation.js

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,40 +4,47 @@
44
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
55
*/
66

7+
/**
8+
* @ignore
9+
*/
710
function P0 (t, p)
811
{
912
var k = 1 - t;
1013

1114
return k * k * k * p;
1215
}
1316

17+
/**
18+
* @ignore
19+
*/
1420
function P1 (t, p)
1521
{
1622
var k = 1 - t;
1723

1824
return 3 * k * k * t * p;
1925
}
2026

27+
/**
28+
* @ignore
29+
*/
2130
function P2 (t, p)
2231
{
2332
return 3 * (1 - t) * t * t * p;
2433
}
2534

35+
/**
36+
* @ignore
37+
*/
2638
function P3 (t, p)
2739
{
2840
return t * t * t * p;
2941
}
3042

31-
// p0 = start point
32-
// p1 = control point 1
33-
// p2 = control point 2
34-
// p3 = end point
35-
36-
// https://medium.com/@adrian_cooney/bezier-interpolation-13b68563313a
37-
3843
/**
3944
* A cubic bezier interpolation method.
4045
*
46+
* https://medium.com/@adrian_cooney/bezier-interpolation-13b68563313a
47+
*
4148
* @function Phaser.Math.Interpolation.CubicBezier
4249
* @since 3.0.0
4350
*

src/math/interpolation/QuadraticBezierInterpolation.js

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,27 +4,32 @@
44
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
55
*/
66

7+
/**
8+
* @ignore
9+
*/
710
function P0 (t, p)
811
{
912
var k = 1 - t;
1013

1114
return k * k * p;
1215
}
1316

17+
/**
18+
* @ignore
19+
*/
1420
function P1 (t, p)
1521
{
1622
return 2 * (1 - t) * t * p;
1723
}
1824

25+
/**
26+
* @ignore
27+
*/
1928
function P2 (t, p)
2029
{
2130
return t * t * p;
2231
}
2332

24-
// p0 = start point
25-
// p1 = control point 1
26-
// p2 = end point
27-
2833
// https://github.com/mrdoob/three.js/blob/master/src/extras/core/Interpolations.js
2934

3035
/**

0 commit comments

Comments
 (0)