Sha256: 75e49f9013d061cb4908c24e9345f75212125183e8068ce77d28daa897bcc984

Contents?: true

Size: 379 Bytes

Versions: 1

Compression:

Stored size: 379 Bytes

Contents

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

<% if fb && app_id = fb.attributes[:app_id]  %>
try
  @fbAsyncInit = ->
    FB.init(
      appId: '<%= app_id %>',
      status : false,
      # or v2.0, v2.1, v2.0
      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.13 app/assets/javascripts/sharing_tags/init.js.coffee.erb