scrollytelling-pageflow-navigation 0.1.0 → 0.1.1

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: 9ce32d8476a75ae7289d82cbf647ce825f7dde32
4
- data.tar.gz: df9645600b07c59239fd179cb2d284b5b718ab0e
3
+ metadata.gz: 702689423563b36b8ed9f8d61f8255a0c56fada3
4
+ data.tar.gz: 3d70150242acea9581bf33225cfd699e69ff6e84
5
5
  SHA512:
6
- metadata.gz: 850cb41bcd6a732844a8c14aac62d90469313f55f483dd35dd44e34458760fffb703264d1451cf9827faa09964b0c888b8bbaad558fc5c7b397c2ec283835d2a
7
- data.tar.gz: d6a168ca1664a573fa751c825dc1b36e3095fb04dc3ab4914d1350d352970fca8f372ee3190b324e9d98c6c70fe48b1829bb6f9dc8da6e0a33d832ce231d9c2b
6
+ metadata.gz: c416e9ffdb47812fed4a33acb4763af693dc6fb9c7173b879bded5ce087df5b353e25aabd4e07fc9fc3f68bc6c7fdb5d87c7ae27c00669d3c4e9dd5ce3589abd
7
+ data.tar.gz: f4babb048fd17ba2a91bbc054e72938b4bc060ff105728667e17eee8232c498d5b57695cd6893b06c6096a6e01393476f1ac9c0eb892210c087cd92e5bbc8d4f
@@ -1,6 +1,6 @@
1
1
  pageflow.Counter = {
2
2
  navigation: function() {
3
- return $('#scrollytelling-pageflow-navigation')
3
+ return $('#scrollytelling-pageflow-navigation');
4
4
  },
5
5
 
6
6
  setActive: function(page) {
@@ -23,14 +23,13 @@ pageflow.Counter = {
23
23
  $('a', this.navigation()).on('click', this.onClick);
24
24
  },
25
25
 
26
- onClick(event) {
26
+ onClick: function(event) {
27
27
  event.preventDefault();
28
28
 
29
29
  var page_id = $(this).attr('data-page-id');
30
30
 
31
31
  pageflow.atmo.slideshow.goToById(page_id);
32
32
  }
33
-
34
33
  }
35
34
 
36
35
  pageflow.ready.then(function() {
@@ -1,7 +1,7 @@
1
1
  module Scrollytelling
2
2
  module Pageflow
3
3
  module Navigation
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scrollytelling-pageflow-navigation
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joost Baaij