Twitter conflict with Anywhere
I'm trying to use Socialite on a site that is still using Twitter's Anywhere. To makes things worse, the script is being loaded synchronously and there's no way I can change that.
Anyways, I was getting an error and I tracked it down https://github.com/dbushell/Socialite/issues/22[issue 22] - basically window.twttr exists, but the .ready() method isn't available. I tried your suggested workaround and the error stops - but the widget is not generated correctly (I get the socialite-loaded class, but instead of the iframe I just see the fallback link).
Weirdly enough, if I comment out the whole twttr check it works.
Any ideias?
I work fine after this modification.
I'll integrate the fix into v2.1