fix typo in componentToHex

This commit is contained in:
Chad Engler 2016-03-09 15:54:40 -08:00
parent 268b13392b
commit a510761bf1

View file

@ -458,7 +458,7 @@ Phaser.Utils.extend(Phaser.Physics.P2.BodyDebug.prototype, {
var hex;
hex = c.toString(16);
if (hex.len === 2)
if (hex.length === 2)
{
return hex;
}