Sha256: 4dfe59db5e07eec06c69d852bdc6b4116eb4007a6ac5cedd3ba444855e027418

Contents?: true

Size: 329 Bytes

Versions: 1

Compression:

Stored size: 329 Bytes

Contents

<% fb = SharingTags.config.current_context[:facebook] %>

<% if fb && app_id = fb.attributes[:app_id]  %>
try
  @fbAsyncInit = ->
    FB.init(
      appId: '<%= app_id %>',
      version: 'v2.3'
    )

  @SharingTags.FacebookShare.init()
catch error
  console?.error("SharingTags.FacebookShare.init error: #{error}")

<% end  %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sharing_tags-0.0.12 app/assets/javascripts/sharing_tags/init.js.coffee.erb