arusahni / ngtweet

Easily embed Twitter widgets into your Angular application! No more having to kludge together a Twitter script loader, or manage embed state on route/visibility change.
http://arusahni.github.io/ngtweet/
MIT License
34 stars 22 forks source link

TypeError: Cannot read property 'ready' of undefined with new timeline and twitter-widget-initialize #22

Closed mkeung closed 8 years ago

mkeung commented 8 years ago

when including twitter-widget-initialize the new style timelines throw a "TypeError: Cannot read property 'ready' of undefined" error.

<body twitter-widget-initialize>
<twitter-timeline twitter-timeline-type='list'
                  twitter-timeline-owner-screen-name='"IAmAru"'
                  twitter-timeline-slug='"food-trucks"'>
</twitter-timeline>
</body>
arusahni commented 8 years ago

Thanks for the bug report! I pushed out a fix to the branch hotfix/script-preload-new-timeline. Can you let me know if that addresses your issue?

arusahni commented 8 years ago

The fix has been pushed out as part of v0.6.1.