markdown_presenter 0.7.1 → 0.7.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 +4 -6
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 471629f9ecbf87d1971aaf43125af65b5328c0dc
4
- data.tar.gz: 7d6c938ee7d0c92f1625f95b0218e677b58c68f6
3
+ metadata.gz: e25ffa8ff942aff9b88c88a5f6716699928dfbf6
4
+ data.tar.gz: 8276ea1dfac4a6ccc30174239b17de1683f34faf
5
5
  SHA512:
6
- metadata.gz: affdfade72515183cdec87cd34fb7151d3c834eb16167fb80686d262ac4d3b7e74a371804d1c64a717ba3b7419c44e71d652adacb366224e7d79bca134bf01f2
7
- data.tar.gz: 9d708d78ef6f227939e6a8398ed44d3167ae78573bfc308dd2b8ba2a0f819b17bbf5f1b252c8920074f8bdcbab29525623a67b71a0468f55242cefdf83608c56
6
+ metadata.gz: 925175ba26d08ff0e01c1b53916f378b2f6323e867f837415530a2cbc4c84030a2e0e07d08286f8b5e4a99b01e809afac9364cd3c14450afe5f9403a7e2cfb3a
7
+ data.tar.gz: ab35cfaf7ca26e6287f290c272f4e63b4ef0ff0b2b913f06254ce7845e57bb0ac5b1283d97796ca91517c94abc135512abfaafcb28672e9443d8cce377372c85
data/presenter.html.haml CHANGED
@@ -2,7 +2,7 @@
2
2
  %html
3
3
  %head
4
4
  %title= title
5
- %meta{name:"viewport", content:"width=device-width, user-scalable=no"}
5
+ %meta{name:"viewport", content:"width=device-width, user-scalable=no, initial-scale=1, maximum-scale=1"}
6
6
  %script{type:'text/javascript'}= yield 'js/jquery-1.10.2.min.js'
7
7
  %style= yield 'css/uikit.almost-flat.min.css'
8
8
  %script{type:'text/javascript'}= yield 'js/uikit.min.js'
@@ -94,11 +94,9 @@
94
94
  return true;
95
95
  });
96
96
 
97
- slides.each(function(_, elem){
98
- var hammertime = Hammer(elem);
99
- hammertime.on("swipeleft", next);
100
- hammertime.on("swiperight", previous);
101
- });
97
+ var hammertime = Hammer(document.body, {swipe_velocity: 0.3, drag: false});
98
+ hammertime.on("swipeleft", next);
99
+ hammertime.on("swiperight", previous);
102
100
 
103
101
  show(parseCurrentSlideIndex());
104
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.7.1
4
+ version: 0.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthieu Tanguay-Carel