Sha256: 8fef02e2dd63766bdc3af4bd9319ccebe5186b3e6458b49ee143cf444eb3b85c

Contents?: true

Size: 355 Bytes

Versions: 3

Compression:

Stored size: 355 Bytes

Contents

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sharing_tags-0.0.5 app/assets/javascripts/sharing_tags/links.js.coffee
sharing_tags-0.0.4 app/assets/javascripts/sharing_tags/links.js.coffee
sharing_tags-0.0.3 app/assets/javascripts/sharing_tags/links.js.coffee