photonstorm/phaser — pull request #991 by lucbloom (2014-07-10 17:11:01+00:00)
Title: Loop count infinite

Instead of only using ‘Animation.loop' variable as a bool, check to see if it’s a number and loop N times.
Call ‘complete’ after all loops are done.