diff --git a/react-slideshow/src/rand.js b/react-slideshow/src/rand.js index 2d2344d..c52754d 100644 --- a/react-slideshow/src/rand.js +++ b/react-slideshow/src/rand.js @@ -22,7 +22,7 @@ Random.prototype.next = function () { /** * 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). return (this.next() - 1) / 2147483646; };