From 71ef6c2cdb3f7ae3de271f2fd317de00ecdd1fd2 Mon Sep 17 00:00:00 2001 From: PlNG Date: Tue, 20 Jan 2015 11:49:08 -0500 Subject: [PATCH] Update JSDoc This might need fixing later, I don't know if I did it right. --- src/collision/Pairs.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/collision/Pairs.js b/src/collision/Pairs.js index d74c5ec3..8dc57283 100644 --- a/src/collision/Pairs.js +++ b/src/collision/Pairs.js @@ -31,6 +31,7 @@ var Pairs = {}; * @method update * @param {object} pairs * @param {collision[]} collisions + * @param {timestamp} timestamp */ Pairs.update = function(pairs, collisions, timestamp) { var pairsList = pairs.list, @@ -96,6 +97,7 @@ var Pairs = {}; * Description * @method removeOld * @param {object} pairs + * @param {timestamp} timestamp */ Pairs.removeOld = function(pairs, timestamp) { var pairsList = pairs.list, @@ -133,9 +135,9 @@ var Pairs = {}; /** * Clears the given pairs structure - * @method create - * @param {object} options + * @method clear * @param {pairs} pairs + * @return {pairs} pairs */ Pairs.clear = function(pairs) { pairs.table = {}; @@ -146,4 +148,4 @@ var Pairs = {}; return pairs; }; -})(); \ No newline at end of file +})();