photonstorm/phaser — pull request #485 by Cybolic (2014-02-25 19:00:02+00:00)
Title: TileSet fix for images without margins

The rows/columns calculation breaks if the tileset image doesn't have a margin or padding on the last tile.
Rounding up the results fixes this.