sarahmei-slidedown 0.0.7 → 0.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/templates/js/slides.js +4 -1
  2. metadata +3 -2
@@ -69,6 +69,8 @@
69
69
 
70
70
  var move = function(event) {
71
71
  var DIRECTIONS = {
72
+ 1: -1, // LEFT MOUSE BTN
73
+ 3: 1, // RIGHT MOUSE BTN
72
74
  37: -1, // ARROW LEFT
73
75
  39: 1, // ARROW RIGHT
74
76
  32: 1, // SPACE BAR
@@ -82,6 +84,7 @@
82
84
 
83
85
  $(window).bind('resize', function() { adjustSlides(); });
84
86
  $(document).bind('keydown', move);
87
+ $(document).bind('click', move);
85
88
  $(document).bind('hash.changed', adjustSlides);
86
89
  $(document).ready(function() {
87
90
  setIndex(getIndex() || 0);
@@ -90,4 +93,4 @@
90
93
  $('.notes').show();
91
94
  }
92
95
  });
93
- })(jQuery);
96
+ })(jQuery);
metadata CHANGED
@@ -1,15 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sarahmei-slidedown
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pat Nakajima
8
+ - Sarah Mei
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
12
 
12
- date: 2009-03-10 00:00:00 -07:00
13
+ date: 2009-06-07 00:00:00 -07:00
13
14
  default_executable: slidedown
14
15
  dependencies:
15
16
  - !ruby/object:Gem::Dependency