Fixed the Bring to Top bug and also fixed Group/World.swap when the child was a tail node. Also improved Group.dump significantly. Fixed Phaser.Utils namespace clash too.

This commit is contained in:
Richard Davey
2013-09-10 12:46:14 +01:00
parent 609ea7ec8f
commit 15fe5ed6c8
8 changed files with 182 additions and 26 deletions
+6 -2
View File
@@ -391,8 +391,12 @@ Phaser.Cache.prototype = {
var output = [];
for (var item in array) {
output.push(item);
for (var item in array)
{
if (item !== '__default')
{
output.push(item);
}
}
return output;