0
0
Fork 0
mirror of https://github.com/liabru/matter-js.git synced 2024-12-26 13:49: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
* @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;
};
})();
})();