dailymotion/vast-client-js — pull request #2 by rhumlover (2013-06-12 16:01:46+00:00)
Title: Keep reference of all ad objects when parsed, and delete ad.nextWrapperURL when async parsing is done

Currently ad.nextWrapperURL is not deleted when this url is parsed, so in complete(), the for loop still see ads with nextWrapperURL properties.

But, because the parsing is done asynchronously, we need to keep a trace of all ad objects in order to delete the property on the relevant ad object.