mirror of
https://github.com/photonstorm/phaser
synced 2024-12-20 18:14:13 +00:00
14 lines
218 B
JavaScript
14 lines
218 B
JavaScript
|
var Call = function (items, callback, thisArg)
|
||
|
{
|
||
|
for (var i = 0; i < items.length; i++)
|
||
|
{
|
||
|
var item = items[i];
|
||
|
|
||
|
callback.call(thisArg, item);
|
||
|
}
|
||
|
|
||
|
return items;
|
||
|
};
|
||
|
|
||
|
module.exports = Call;
|