![](https://secure.gravatar.com/avatar/e65215f19b5b49cad582b685fccc3723?rating=PG&size=50&default=https%3A%2F%2Fcdn.desk.com%2Fassets%2Funknown_user_50-8ad5644bbe6b1bd7454f2ea465f782bd.png)
Error in vast.js code
Hi, guys
I could not find your vast.js code on github, so probably it is not open source.
I just found a bug in your code and wanted to let you know about it.
In vast.js in routine destroy() you have the following code (obfuscated, but still obvious):
` l.each(n.Listeners, n.vpaidAd.unsubscribe)`
which, i believe, should be written as
` l.each(n.Listeners, n.vpaidAd.unsubscribe, n.vpaidAd)`
Thanks,
And sorry for bothering if you have fixed this already.