Sha256: 3a0ede8ee341bc990d5e5fc92573aef130dbcd3c84ef60833c2ad314ad66a352

Contents?: true

Size: 389 Bytes

Versions: 1

Compression:

Stored size: 389 Bytes

Contents

$(document).on 'click', "@sharing_tags_share", (event) ->
    event.preventDefault()
    self = $(@)
    SharingTags.share(
      self.data('network'),
      mobile:  device?.mobile()  # for mobile devices
      page_url: self.attr("href")
      url:     self.data 'share-url'
      title:   self.data 'title'
      message: self.data 'description'
      image:   self.data 'image'
    )

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sharing_tags-0.0.6 app/assets/javascripts/sharing_tags/links.js.coffee