Skip to content

Commit

Permalink
Merge pull request #5 from Nick-Riggs/patch-IE-Debug-warn-fix
Browse files Browse the repository at this point in the history
Debug.warn breaks IE
  • Loading branch information
Andrew Start committed Apr 2, 2015
2 parents 60900a6 + bdee343 commit 5b85a02
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/Emitter.js
Original file line number Diff line number Diff line change
Expand Up @@ -370,9 +370,7 @@
{
if(this.particleImages[i].baseTexture != this.particleImages[i - 1].baseTexture)
{
if(window.Debug)
Debug.warn("PixiParticles: using particle textures from different images may hinder performance in WebGL");
else if(window.console)
if (window.console)
console.warn("PixiParticles: using particle textures from different images may hinder performance in WebGL");
break;
}
Expand Down Expand Up @@ -948,4 +946,4 @@

cloudkid.Emitter = Emitter;

}(cloudkid));
}(cloudkid));

0 comments on commit 5b85a02

Please sign in to comment.