typeof fix.

This commit is contained in:
photonstorm 2014-05-08 02:25:53 +01:00
parent c32706f98c
commit a60246d3c2

View file

@ -48,7 +48,7 @@ Phaser.Utils = {
*/
rotateArray: function (matrix, direction) {
if (typeof direction !== 'String')
if (typeof direction !== 'string')
{
direction = ((direction % 360) + 360) % 360;
}