{"push_id":1064721416,"size":2,"distinct_size":2,"ref":"refs/heads/dev","head":"9c972d241ef0de4fc7419749202afc0e4e373e9e","before":"358cc6b8d09d2b64c28088d4017b45aa179a3e3a","commits":[{"sha":"719b4bb7f6f19e350c303be22e9c7429c84aa460","author":{"email":"f485dc9d4ac2fbdf4cfe17b88f59e00ddee2f1cf@gmail.com","name":"Lewis Pollard"},"message":"Alter BitmapText to use toString on text parameter in constructor\n\nThe BitmapText property accessor for the text property uses toString on the value passed in, meaning Numbers can be passed in as the text value with no problem. However, passing a Number into the constructor results in the following exception as it isn't implicitly converted to a string in a similar manner.\r\n\r\nphaser.js:71890 TypeError: text.substr is not a function\r\n    at Phaser.BitmapText.updateText (http://localhost/phaser/build/phaser.js:56283:21)\r\n    at new Phaser.BitmapText (http://localhost/phaser/build/phaser.js:56034:10)\r\n    at Phaser.GameObjectFactory.bitmapText (http://localhost/phaser/build/phaser.js:46318:26)\r\n    at Object.Boot.create (http://localhost/phaser/:46:34)\r\n    at Phaser.StateManager.loadComplete (http://localhost/phaser/build/phaser.js:29240:35)\r\n    at Phaser.Loader.finishedLoading (http://localhost/phaser/build/phaser.js:71446:25)\r\n    at Phaser.Loader.processLoadQueue (http://localhost/phaser/build/phaser.js:71403:18)\r\n    at Phaser.Loader.asyncComplete (http://localhost/phaser/build/phaser.js:71476:14)\r\n    at Phaser.Loader.xmlLoadComplete (http://localhost/phaser/build/phaser.js:72413:14)\r\n    at .<anonymous> (http://localhost/phaser/build/phaser.js:72236:34)\r\n\r\nThis simply mimics the logic in the property accessor by running toString on the text value and using an empty string if null to allow Numbers to be passed into the constructor.","distinct":true,"url":"https://api.github.com/repos/photonstorm/phaser/commits/719b4bb7f6f19e350c303be22e9c7429c84aa460"},{"sha":"9c972d241ef0de4fc7419749202afc0e4e373e9e","author":{"email":"972a13cbbe5e845ecb59dace8e3ece01450d33f4@photonstorm.com","name":"Richard Davey"},"message":"Merge pull request #2429 from lewispollard/dev\n\nAlter BitmapText to use toString on text parameter in constructor","distinct":true,"url":"https://api.github.com/repos/photonstorm/phaser/commits/9c972d241ef0de4fc7419749202afc0e4e373e9e"}]}