markdown_presenter 0.5.1 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/presenter.html.haml +5 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e6ac6bae30314f861f830cee65421e3dd9a7a713
4
- data.tar.gz: 2f7e7a5a36dc12152962a446319a91532f1b9f83
3
+ metadata.gz: 7ff2bfb7675f3018cf4a5c19bf28e8f81bba255b
4
+ data.tar.gz: 2f1bb85249a65158315051a19f988e7bfcdb01d4
5
5
  SHA512:
6
- metadata.gz: 062e14c8079121d0d3bdc6c3b2a4a445acb100fe5606c3edcecefa50125ae62c925980048d729623575b38d235893b897835c0e07a184b5a8962c5fc67c73f4f
7
- data.tar.gz: 642054375165df5b5be939751ba10e01cfaf1932b568447a03add8fd5cee7f6db30aca00a19b590012b34be9c7beb3d3763c8dfb88cfaeceb90cacfd4e7e4fce
6
+ metadata.gz: 62e581dbe1ec9331714dab8eb106953ef16b44da18e3ed1b5ab85615999a44a99c4d93d72cdc05c1fe6a65a9e9a392775f0bf41a80d0a348cf0fd29e7a76e8f9
7
+ data.tar.gz: 42f3fa4397372f917a23337fa9973541cea95dc91ce7db4276386a15876be770e9f5beefb645310032e9e7dab85bf21a2f537ecd643aab026d33668201a41794
data/presenter.html.haml CHANGED
@@ -40,7 +40,7 @@
40
40
   
41
41
 
42
42
  :javascript
43
- $(document).ready(function(){
43
+ var init = function(){
44
44
  var slides = $(".slide");
45
45
 
46
46
  var match = location.href.match(/#(.*)$/);
@@ -95,5 +95,8 @@
95
95
  }, function(){
96
96
  $(this).css({'opacity' : 0.6});
97
97
  });
98
- });
98
+ };
99
+
100
+ $(document).ready(init);
101
+ $(window).on('hashchange', init);
99
102
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: markdown_presenter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthieu Tanguay-Carel