Sha256: a8a0c16da63436ac8882482c77fed91402381b4a76d11ce69d561b3a28e357f0
Contents?: true
Size: 594 Bytes
Versions: 2
Compression:
Stored size: 594 Bytes
Contents
class @SharingTags.Share.Callback constructor: (@share)-> @network = @share.network @context = @share.context before_sharing: (provider)=> @trigger("start_share", url: @share.url, provider: provider, network: @network, context: @context) after_sharing: (response)-> @trigger("shared", response: response, network: @network, context: @context) before_open_popup: (open_url, popup_window)=> @trigger("open_popup", url: open_url, popup_window: popup_window) trigger: (trigger_name, params...)-> jQuery?(window).trigger("sharing_tags.#{trigger_name}", params)
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sharing_tags-0.0.15 | app/assets/javascripts/sharing_tags/share/callback.js.coffee |
sharing_tags-0.0.14 | app/assets/javascripts/sharing_tags/share/callback.js.coffee |