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.
- checksums.yaml +4 -4
- data/presenter.html.haml +5 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7ff2bfb7675f3018cf4a5c19bf28e8f81bba255b
|
4
|
+
data.tar.gz: 2f1bb85249a65158315051a19f988e7bfcdb01d4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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
|
|