scrollytelling-pageflow-navigation 1.5.0 → 1.6.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fbbe4b99b4fa94dcf3d276b46aa0e648d591e6a7
4
- data.tar.gz: b7e926b07688689645369374d7cac29f1647c9b1
3
+ metadata.gz: db36dded0fae3701bfa6d97d7561ae4daba7976b
4
+ data.tar.gz: edcf552adadbca80a40041755c2c33bfed71cd36
5
5
  SHA512:
6
- metadata.gz: b1073d75286431c92c85b2aa94f1e4bcf2ecfa68ca40a5e4f6973caa85def7d365a55fa89c7984814c354093c63929b57a2e479b81e6210ac3891696ca088efe
7
- data.tar.gz: 586a75d87efbdf006cc091a2ba383734035855fa2eec8363df34d9bd907c1cbde136fb3b54735fa266f77d7e7c019da279b57447092b063259c4f43d877aed5d
6
+ metadata.gz: 71854694944a394fb635885a6c0210fb8d3819eb1e2a24c7a3c152843e189f642dfd0067878ce8e49367e06929775ffab57e92fc0ffaf11cd13e8ab5b41ae9a9
7
+ data.tar.gz: bc9c690d43639258c284f0b473185b19c1e7ce7a81f66ad1f124344e40e4a9f8ebe962768b1fe9fbd1719692ab45323c0443a995155d56049089ea06cf22fae4
@@ -21,8 +21,9 @@ $.widget('scrollytelling.twitterSharing', {
21
21
  onClick: function(event) {
22
22
  event.preventDefault();
23
23
  var summary = $("meta[name='description']").attr('content');
24
+ var twitter_via = window.scrollytelling.twitter_via || 'Scrollytellio';
24
25
  var twSharer = window.open(
25
- "//twitter.com/intent/tweet?text="+encodeURIComponent(summary)+"&via=Scrollytellio&url="+encodeURIComponent(location.href.replace(location.hash,"")),
26
+ "//twitter.com/intent/tweet?text="+encodeURIComponent(summary)+"&via="+twitter_via+"&url="+encodeURIComponent(location.href.replace(location.hash,"")),
26
27
  "Twitter",
27
28
  "width=600,height=260"
28
29
  )
@@ -1,7 +1,7 @@
1
1
  module Scrollytelling
2
2
  module Pageflow
3
3
  module Navigation
4
- VERSION = "1.5.0"
4
+ VERSION = "1.6.0"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scrollytelling-pageflow-navigation
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joost Baaij
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-08-22 00:00:00.000000000 Z
11
+ date: 2016-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pageflow
@@ -135,7 +135,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
135
135
  version: '0'
136
136
  requirements: []
137
137
  rubyforge_project:
138
- rubygems_version: 2.2.2
138
+ rubygems_version: 2.4.8
139
139
  signing_key:
140
140
  specification_version: 4
141
141
  summary: Replace Pageflow navigation with Scrollytelling navigation