0
0
Fork 0
mirror of https://github.com/liabru/matter-js.git synced 2024-12-28 14:09:01 -05:00

Update JSDoc

This might need fixing later, I don't know if I did it right.
This commit is contained in:
PlNG 2015-01-20 11:49:08 -05:00
parent 18e0642d24
commit 71ef6c2cdb

View file

@ -31,6 +31,7 @@ var Pairs = {};
* @method update * @method update
* @param {object} pairs * @param {object} pairs
* @param {collision[]} collisions * @param {collision[]} collisions
* @param {timestamp} timestamp
*/ */
Pairs.update = function(pairs, collisions, timestamp) { Pairs.update = function(pairs, collisions, timestamp) {
var pairsList = pairs.list, var pairsList = pairs.list,
@ -96,6 +97,7 @@ var Pairs = {};
* Description * Description
* @method removeOld * @method removeOld
* @param {object} pairs * @param {object} pairs
* @param {timestamp} timestamp
*/ */
Pairs.removeOld = function(pairs, timestamp) { Pairs.removeOld = function(pairs, timestamp) {
var pairsList = pairs.list, var pairsList = pairs.list,
@ -133,9 +135,9 @@ var Pairs = {};
/** /**
* Clears the given pairs structure * Clears the given pairs structure
* @method create * @method clear
* @param {object} options
* @param {pairs} pairs * @param {pairs} pairs
* @return {pairs} pairs
*/ */
Pairs.clear = function(pairs) { Pairs.clear = function(pairs) {
pairs.table = {}; pairs.table = {};