photonstorm/phaser — pull request #819 by max-m (2014-05-12 15:44:21+00:00)
Title: Improve TileMap's setCollsion functions

Now one can decide in 'setCollision', 'setCollisionBetween', 'setCollisionByExclusion' and 'setCollisionByIndex' to recalculate the collision faces or not.

I was able to decrease the time it takes to set the collisions from 1880ms to 440ms in my case,see http://www.html5gamedevs.com/topic/6328-camera-rendered-area-move-tilemaplayer/?p=38037

Coding style should be ok, jshint was happy too.