zencoder/video-js — pull request #360 by mente (2013-03-05 21:35:11+00:00)
Title: correctly expose ready and dispose in minified version

Hello,

First of all want to say that minified tests are very synthetic. Found 2 bugs with minified version so far. The reason is that tests are minified with lib itself. GCC already knows what methods reference to and correctly handles it. Bugs itself:

1. `ready` method callback is not exposed.
2. `dispose` method is exposed incorrectly. Base method `vjs.Component.dispose` is exposed instead of `vjs.Player.dispose` that includes cleaning of cache in `vjs.players`

PR includes reproduce for both bugs.

Didn't want to touch original tests and created new ones with obfuscated lib and not obfuscated tests. Feel free to update minified tests on your own.

Regards,
Alex