Sha256: 09b81679556d433c6a5c957b30e1480e903a445fd7a08106900dc7894cc43af7
Contents?: true
Size: 716 Bytes
Versions: 1
Compression:
Stored size: 716 Bytes
Contents
<div id="fb-root"></div> <script> window.fbAsyncInit = function() { FB.init({ appId : '<%= app_id %>', channelUrl : '//<%= domain %>/channel.html', status : <%= status %>, cookie : <%= cookie %>, xfbml : <%= xfbml %> }); <% if block %> <%= block %> <% end %> }; (function(d, debug){ 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/<%= locale %>/all" + (debug ? "/debug" : "") + ".js"; ref.parentNode.insertBefore(js, ref); }(document, <%= debug %>)); </script>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
facebook_js-0.0.1 | app/views/facebook_js_helper/_facebook.html.erb |