blakecarroll/particle-saga — pull request #1 by theskabeater (2014-09-25 22:41:12+00:00)
Title: Make sure target index exists before setting target

The resize method can be invoked before a scene has a currentTargetIndex. Update guard in the setTarget method to also check whether a target exists.