Remove unused params.
This commit is contained in:
parent
1bca4c3642
commit
06f82cc160
2
react-slideshow/src/rand.js
vendored
2
react-slideshow/src/rand.js
vendored
@ -22,7 +22,7 @@ Random.prototype.next = function () {
|
|||||||
/**
|
/**
|
||||||
* Returns a pseudo-random floating point number in range [0, 1).
|
* Returns a pseudo-random floating point number in range [0, 1).
|
||||||
*/
|
*/
|
||||||
Random.prototype.nextFloat = function (opt_minOrMax, opt_max) {
|
Random.prototype.nextFloat = function () {
|
||||||
// We know that result of next() will be 1 to 2147483646 (inclusive).
|
// We know that result of next() will be 1 to 2147483646 (inclusive).
|
||||||
return (this.next() - 1) / 2147483646;
|
return (this.next() - 1) / 2147483646;
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user