Sha256: 489e11e3282099536bdea0cd014c5c739a1b6a70bf56aa78c78b1e94c97c5660
Contents?: true
Size: 709 Bytes
Versions: 1
Compression:
Stored size: 709 Bytes
Contents
#fb-root javascript: window.fbAsyncInit = function() { FB.init({ appId : '#{Catarse::Configuration['facebook_app_id']}', // App ID status : true, // check login status cookie : true, // enable cookies to allow the server to access the session xfbml : true // parse XFBML }); }; // Load the SDK Asynchronously (function(d){ var js, id = 'facebook-jssdk', ref = d.getElementsByTagName('script')[0]; if (d.getElementById(id)) {return;} js = d.createElement('script'); js.id = id; js.async = true; js.src = "//connect.facebook.net/#{t('catarse.facebook_locale')}/all.js"; ref.parentNode.insertBefore(js, ref); }(document));
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
catarse_core-1.0.0.beta | app/views/layouts/catarse/_facebook_sdk.html.slim |