guardian/frontend — pull request #5569 by ironsidevsquincy (2014-08-14 11:57:13+00:00)
Title: Fix 'FB undefined' issue

http://frontend.errors.guim.co.uk/guardian/frontend/group/5/

Uses `!exports` - see https://github.com/cujojs/curl/wiki/js
Also explicitly checks `FB` exists

Means you can also get a reference to `fb`, rather than pulling it from the `window` object. If you want