Bad Code examples twitch.ext
Every since refernce to each function is
This ASSUMES the developer has cast
var twitch = window.Twitch somewhere.
It would be more clear if each code reference did
instead, or mention that
twitch is a variable expected to be cast by the developer
There is also some inconsistency where twitch.ext and window.Twitch.ext are used inchangably