Skip to content

Commit a60246d

Browse files
committed
typeof fix.
1 parent c32706f commit a60246d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/utils/Utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Phaser.Utils = {
4848
*/
4949
rotateArray: function (matrix, direction) {
5050

51-
if (typeof direction !== 'String')
51+
if (typeof direction !== 'string')
5252
{
5353
direction = ((direction % 360) + 360) % 360;
5454
}

0 commit comments

Comments
 (0)